Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to copy Manifest

I downloaded a project from git through eclipse. When I try to run my project I would get this error:

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

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

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

Please help.

like image 707
Anna Avatar asked Dec 20 '22 10:12

Anna


2 Answers

The fix is: Clean the project by going to Project > Clean.

like image 181
DAS Avatar answered Jan 04 '23 13:01

DAS


  1. Right click on the project > Properties > Java Build Path
  2. Open the Source tab
  3. Click on "Add Folder..." and select BOTH gen and src

If you are still having issues after that:

  1. Right click on the project > Properties > Java Build Path
  2. Select the Libraries tab
  3. Click the "Add External JARs..." button. Select the API that is in your android directory (android-sdk\platforms\android-yourversion)

Make sure to Clean the project afterwards

like image 45
MJ93 Avatar answered Jan 04 '23 13:01

MJ93