-assumenosideeffects class android.util.Log { public *; } #阿里百川推送混淆 -keepattributes Signature -keep class sun.misc.Unsafe { *; } -keep class com.taobao.** {*;} -keep class com.alibaba.** {*;} -keep class com.alipay.** {*;} -dontwarn com.taobao.** -dontwarn com.alibaba.** -dontwarn com.alipay.** -keep class com.ut.** {*;} -dontwarn com.ut.** -keep class com.ta.** {*;} -dontwarn com.ta.** -keep class * extends anet.**{*;} -keep class * extends org.android.spdy.**{*;} -keep class * extends org.android.agoo.**{*;} -dontwarn anet.** -dontwarn org.android.spdy.** -dontwarn org.android.agoo.** -dontwarn javax.naming.** #友盟混淆 -keepclassmembers class * { public <init> (org.json.JSONObject); } -keep public class [com.hotdoories.parentclient].R$*{ public static final int *; } -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } -keep class org.apache.http.**{ *; } -dontwarn org.apache.http.** -keep class com.android.volley.**{ *; } -dontwarn com.android.volley.** -keep class com.google.gson.**{ *; } -dontwarn com.google.gson.** -keep public class * extends android.app.Fragment -keep public class * extends android.app.Activity -keep public class * extends android.app.Application -keep public class * extends android.app.Service -keep public class * extends android.content.BroadcastReceiver -keep public class * extends android.content.ContentProvider -keep public class * extends android.app.backup.BackupAgentHelper -keep public class * extends android.preference.Preference -keep public class com.android.vending.licensing.ILicensingService -keep class org.**{*;} -dontwarn org.** -keepattributes *Annotation* -keepclassmembers class ** { @org.greenrobot.eventbus.Subscribe <methods>; } -keep enum org.greenrobot.eventbus.ThreadMode { *; } # Only required if you use AsyncExecutor -keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent { <init>(java.lang.Throwable); } -keepclassmembers class * implements java.io.Serializable { static final long serialVersionUID; private static final java.io.ObjectStreamField[] serialPersistentFields; private void writeObject(java.io.ObjectOutputStream); private void readObject(java.io.ObjectInputStream); java.lang.Object writeReplace(); java.lang.Object readResolve(); } #某些bean类由fastjson从json字符串解析得到,不能混淆 -keep class com.hotdoories.parentclient.bean.**{ *; } -keepattributes EnclosingMethod
android混淆文件
最新推荐文章于 2023-05-10 16:52:12 发布