So as the title says, this is the error I got when compiling a project I build for about a year ago.
Compile Error: Error generating final archive: java.io.FileNotFoundException: ..\bin\resources.ap_ does not exist.
Cause:
In strings.xml I had the following format arguments "%s/%s"
ex. <string name="template_user_agent">"%s/%s (Linux; Android)"</string>
Now, format arguments had to be changed to "%1$s/%2$s"
Then, the error should dissapear.
I found the solution from the following pages.
http://stackoverflow.com/questions/4437023/resources-ap-does-not-exist-when-compile-my-android-project
http://developer.android.com/guide/topics/resources/string-resource.html
http://mobile.tutsplus.com/tutorials/android/android-sdk-format-strings/
No comments:
Post a Comment