以AndroidStudio为例
-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
-dontwarn android.support.v4.**
-dontwarn com.google.**
-keep class android.support.v4.** { *; }
-keep class com.google.** { *; }
混淆完成