Failed to copy manifest

I downloaded the project from git via eclipse. When I try to start my project, I get this error:

[2013-01-26 21:16:43 - FOLDERNAME] / FOLDERNAME / gen already exists, but is not the source folder. Convert to the original folder or rename it.

After deleting the gen folder, I get this error when I try to clean my project:

[2013-01-26 21:23:38 - FOLDERNAME] Failed to copy manifest

Please, help.

+4
source share
6 answers

Correction: Clean up the project by choosing Project> Clear.

+4
source
  • Right-click the project> Properties> Java Build Path.
  • Click the Source tab
  • Click "Add Folder ..." and select BOTH gen and src

If you still have problems after this:

  • Right-click the project> Properties> Java Build Path.
  • Select the Libraries tab
  • Click the "Add External JAR ..." button. Select the API that is in your Android directory (android-sdk \ platform \ android-yourversion).

Then clean the project.

+3
source

Go to the / bin folder and delete the AndroidManifest.xml file.

+3
source

Go to the manifest.xml folder and right-click on manifest.xml, select the properties and uncheck the read-only box.

+1
source

The easiest way to solve this is

  • right click node project in eclipse
  • select the Android tools submenu
  • select Fix project properties

You may need to close and reopen the project, but after that it should work correctly.

The reason for this is that the .classpath and .project files are often ignored by default in .gitignore, and these options are missing when you extract a project from git.

0
source

I got an error while copying a manifest error when I downloaded the project, and here is what started the project:

  • on the "Problems" tab, click on the error message
  • delete it (by pressing the delete key on the keyboard, I'm serious)
  • r-click the main node project in Package Explorer / Run as an Android application.
0
source

All Articles