I am trying to use ProGuard to make release apk file for my project, Apparently I am using many third party libraries, Where I need to use only few classes from them, I woul
add this:
-dontwarn com.squareup.okhttp.**
to your proguard-rules.pro
You have to write pro-guard rule for every library else pro-guard will obfuscate it
This is for Admob
-keep public class com.google.ads.**{
public *;
}
This is for V7 support lib
-dontwarn android.support.v7.**
-keep class android.support.v7.** { *; }
-keep interface android.support.v7.** { *; }