Compile Error: Error generating final archive: java.io.FileNotFoundException: ..\\bin\\resources.ap_ does not exist.
Compile other simple sample works. Same source f
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.
Delete any 9 patch drawables created in gimp and refresh.
Try going to Window->Android SDK manager and update Tools and Android 4.0. This solved my issues.
If that doesnt work, try updating everything.
That totally worked for me!
Reference: Error generating final archive: java.io.FileNotFoundException: xxx\bin\resources.ap_ does not exist
Finally i found the reason. The update aapt tool treat the format string without order as build error. e.g. "%s %d" should be "%1$s %2$d".
first try
clean,build automatically from eclipse
and if not resolved then try uder solution
i found solution why R.class not made by eclipse after making again-2 clean,build etc.
problem is here in strings.xml:
Hello World, HelloAutoComplete!
HelloAutoComplete these are by default created by the eclipse when you create an projects
definitly you are changing the strings.xml for your own requirment sometimes you cleare the string.xmls these two lines from your codes.
it is making problem in AndroidManifest.xml file
so it cant communicating strings.xml
dont delete these two lines from strings.xml
android:icon="@drawable/icon" android:label="@string/app_name"
android:name=".HelloAutoComplete"
android:label="@string/app_name"
regards aarifmohammadkhan@gmail.com
if any one have nay problem in android
welcome for asking questions
Regards aarifmkhan
Try run your Eclipse as administrator.