目前使用到的第三方组件混淆代码,不断更新。基本上各自主页都会有混淆的说明。
2014/08/26
-libraryjars libs/freemarker-2.3.20.jar
-libraryjars libs/greendao-generator-1.3.0.jar
-keep class de.greenrobot.** { *; }
-dontwarn de.greenrobot.**
-keep class freemarker.** { *; }
-dontwarn freemarker.**
-libraryjars libs/greendao-1.3.0-beta-1.jar
-keep class com.manjay.housebox.greendao.** {*;}
-keepclassmembers class * extends de.greenrobot.dao.AbstractDao {
public static java.lang.String TABLENAME;
}
-keep class **$Properties
-dontwarn net.soureceforge.pinyin4j.**
-dontwarn demo.**
-libraryjars libs/pinyin4j-2.5.0.jar
-keep class net.sourceforge.pinyin4j.** { *;}
-keep class demo.** { *;}
-libraryjars libs/volley.jar
-libraryjars libs/android-async-http-1.4.5.jar
-libraryjars libs/jpush-sdk-release1.6.3.jar
-dontwarn cn.jpush.**
-keep class cn.jpush.** { *; }
-libraryjars libs/eventbus-1.0.1.jar
-keepclassmembers class ** {
public void onEvent*(**);
}
-keepclassmembers class ** {
public void xxxxxx(**); //所有监听的方法都要列在这里
}
-dontwarn com.jeremyfeinstein.slidingmenu.lib.**
-keep class com.jeremyfeinstein.slidingmenu.lib.**{*;}
-dontwarn com.actionbarsherlock.**
-keep class com.actionbarsherlock.**{*;}