2.4 混淆打包
# 2.4 混淆打包
~~~
-dontwarn com.lingju.**
-keep class com.lingju.** {
<fields>;
<methods>;
}
-keepclassmembers class ** {
public void onEvent*(**);
}
-dontwarn com.iflytek.**
-keep class com.iflytek.**{*;}
-dontwarn com.hp.hpl.**
-keep class com.hp.hpl.** {
<fields>;
<methods>;
}
-dontwarn net.sourceforge.pinyin4j.**
-keep class net.sourceforge.pinyin4j.** {
<fields>;
<methods>;
}
-dontwarn org.joda.**
-keep class org.joda.** {
<fields>;
<methods>;
}
-dontwarn com.google.gson.**
-keep class com.google.gson.**{*;}
~~~