Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

resources.ap_ does not exist when compile my android project

Compile Error: Error generating final archive: java.io.FileNotFoundException: ..\bin\resources.ap_ does not exist.

Compile other simple sample works. Same source file and project works on my college's machine.

Any tips ? Why resources.ap_ doesn't get generated ?

like image 430
jim.huang Avatar asked Dec 14 '10 08:12

jim.huang


3 Answers

Did you do a Project > Clean? If that doesn't work, try forcing Eclipse to build the project again. Restart Eclipse if that still doesn't work.

like image 132
Zarah Avatar answered Nov 10 '22 05:11

Zarah


I created an empty text file under C:\Users\me\workspace\project\bin\resources.ap_

Then Cleaned/Rebuild... that seemed to fix it.

like image 26
user614518 Avatar answered Nov 10 '22 04:11

user614518


In my case was a 9 patch drawable that was modified with GIMP, then adb cannot "parse" it, recreated with the draw9patch then worked fine

like image 7
eveliotc Avatar answered Nov 10 '22 06:11

eveliotc