Have been trying to find some information about the rules needed for the new design support library to work passing proguard. I couldn\'t find any information about it.
I meet this error error while parsing android/support/design/R$anim.class
.
End it with this code:
# support design
-dontwarn android.support.design.**
-keep class android.support.design.** { *; }
-keep interface android.support.design.** { *; }
-keep public class android.support.design.R$* { *; }
This should work:
-keep public class * extends android.support.design.widget.CoordinatorLayout$Behavior {
public <init>(android.content.Context, android.util.AttributeSet);
}