Bootstrap

android混淆排除所有注解类(android annotation proguard config)

###排除所有注解类

-keep class * extends java.lang.annotation.Annotation { *; }
-keep interface * extends java.lang.annotation.Annotation { *; }


###保留使用xUtils的方法和类,并且不要混淆名字
-keep @com.lidroid.xutils.db.annotation.Table class *
-keepclassmembers class * {
    @com.lidroid.xutils.db.annotation.* <fields>;
}        
-keepclassmembers, allowobfuscation class * {
@com.lidroid.xutils.view.annotation.* <fields>;
    @com.lidroid.xutils.view.annotation.event.* <methods>;
}
;