-dontobfuscate
# okhttp
-dontwarn com.squareup.okhttp.internal.**
# butterknife
-keep class butterknife.** { *; }
-dontwarn butterknife.internal.**
-keep class **$$ViewInjector { *; }
-keepclasseswithmembernames class * { @butterknife.* <fields>; }
-keepclasseswithmembernames class * { @butterknife.* <methods>; }
# Joda
-dontwarn org.joda.convert.**
-dontwarn org.joda.time.tz.DateTimeZoneBuilder$PrecalculatedZone
# EventBus
-keepclassmembers class ** { public void onEvent*(**); }
# Only required if you use AsyncExecutor
-keepclassmembers class * extends de.greenrobot.event.util.ThrowableFailureEvent {
<init>(java.lang.Throwable);
}
# Glide
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
-keep class com.bumptech.glide.integration.okhttp.OkHttpGlideModule
# AppCompat
-dontwarn android.support.v7.**
-keep class android.support.v7.** { *; }
-keep interface android.support.v7.** { *; }
# superrecyclerview
-dontwarn com.malinskiy.superrecyclerview.SwipeDismissRecyclerViewTouchListener*
# leakcanary
-keep class org.eclipse.mat.** { *; }
-keep class com.squareup.leakcanary.** { *; }
# Craslytics https://dev.twitter.com/crashlytics/android/proguard-dexguard
-keepattributes SourceFile,LineNumberTable
# Icepick
#-dontwarn icepick.processor.**
#-keep class **$$Icicle { *; }
#-keepnames class * { @icepick.Icicle *; }
-dontwarn icepick.**
-keep class **$$Icicle { *; }
-keepnames class * { @icepick.Icicle *;}
-keepclasseswithmembernames class * { @icepick.* <fields>; }
Error:
(http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass)
Warning:library class com.google.auto.common.MoreTypes$1 extends or implements program class com.google.common.base.Equivalence
Warning:there were 1 instances of library classes depending on program classes.
You must avoid such dependencies, since the program classes will
be processed, while the library classes will remain unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dependency)
:app:proguardDebug FAILED
Error:Execution failed for task ':app:proguardDebug'.
> java.io.IOException: Please correct the above warnings first.
I get this when I run the project
Dependecies:
My proguard:
Error: