Android Studio使用Butterknife混淆代码出错解决办法
在proguard-rules.pro混淆规则文件中添加:
-keep class butterknife.** { *; } -dontwarn butterknife.internal.** -keep class **$$ViewBinder { *; } -keepclasseswithmembernames class * { @butterknife.* <fields>; } -keepclasseswithmembernames class * { @butterknife.* <methods>; }