ProGuard Cannot Find Referenced Libraries

Made a few changes to proguard-project.txt file (if you have more than one module in your project – put it in the module which calls the *.jar file you are getting warned about):

-keepattributes SourceFile,LineNumberTable
-keep class com.parse.*{ *; }
-dontwarn com.parse.**
-dontwarn com.squareup.picasso.**
-keepclasseswithmembernames class * {
    native <methods>;
}  

The -dontwarn lines were needed. Basically what they tell ProGuard is that these jars work fine on their own so don’t complain when you cannot find the classes they reference.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)