While exporting my Android Application, Proguard returned with error code 1. I am using twitter4j external jars in my app.
I already added library jars, rt.jar (For
I found a few things while integrating Proguard maybe it's helpful to you.
1>While using Google's License Verification Library we want to keep an additional class from being obfuscated in the additional library. for that I used proguard/config.txt file:
**-keep class com.android.vending.licensing.ILicensingService**
2> While using Google api for MapActivity, I got warnings:
can't find referenced classes for all come.google.android.maps classes, and "Note: the configuration refers to the unknown class 'com.google.android.maps'"`
When we use Google APIs, there is an additional library used to build the program. for that we need to adjust the path.
Normally there is just android.jar located in your SDK. but Google API adds another library, maps.jar, hidden away at android-sdk-windows\add-ons\addon_google_apis_google_inc_8\libs\maps.jar. We need to add this to the build.xml file. Find the optimize target in build.xml, and add the following text in bold to the proguard command by adjusting the path:
Have a look at this ref: http://goo.gl/Ifgyj
3> Ref: Android Proguard skip external jar