After upgrading to ADT 20, I can no longer successfully export any of my Android projects. I get:
Proguard returned with error code 1. See console
In the console, I get tons of warnings can't find referenced classand sometimes a warning can't find superclass or interface. At the end of the warnings, I get something like this:
You should check if you need to specify additional program jars.
Warning: there were 199 unresolved references to classes or interfaces.
You may need to specify additional library jars (using '-libraryjars').
java.io.IOException: Please correct the above warnings first.
at proguard.Initializer.execute(Initializer.java:321)
at proguard.ProGuard.initialize(ProGuard.java:211)
at proguard.ProGuard.execute(ProGuard.java:86)
at proguard.ProGuard.main(ProGuard.java:492)
Every time I try to build, I get a different number of warnings (this is not very consistent). In addition, when I perform a cleanup before exporting, the export completes without any warning, but the resulting APK fails to start up often because of ClassNotFoundException.
My proguard-project.txtcontains the necessary rules -keep classfor the Android support library and ActionBarSherlock.
20- ADT. (, , , ), .
-libraryjars / -dontwarn, SO, . , APK .
?