Android-常用第三方库proguard-rules配置

本文内容均是本人在开发过程中整理的:

butterknife

1
2
3
4
5
6
7
8
9
-keep class butterknife.** { *; }
-dontwarn butterknife.internal.**
-keep class **$$ViewInjector { *; }
-keepclasseswithmembernames class * {
@butterknife.* <fields>;

}
-keepclasseswithmembernames class * {
@butterknife.* <methods>;

}