Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
-ignorewarnings
-keep public class * extends android.os.Binder
-keepclassmembers enum * {
**[] $VALUES;
public *;
}
# v7
-keep public class android.support.v7.widget.** { *; }
-keep public class android.support.v7.internal.widget.** { *; }
-keep public class android.support.v7.internal.view.menu.** { *; }
-keep public class * extends android.support.v4.view.ActionProvider {
public <init>(android.content.Context);
}
# log
-assumenosideeffects class android.util.Log {
public static boolean isLoggable(java.lang.String, int);
public static int d(...);
public static int w(...);
public static int v(...);
public static int i(...);
}
-keepclassmembers class * {
public <init> (org.json.JSONObject);
}
-keep class org.ocpsoft.prettytime.** { *; }
# Fabric
-keep public class * extends java.lang.Exception
-keepattributes *Annotation*
-keep class com.crashlytics.** { *; }
-dontwarn com.crashlytics.**
-keep class io.fabric.** { *; }
-renamesourcefileattribute Proguard
-keepattributes SourceFile,LineNumberTable
-obfuscationdictionary dictionary-elder.txt
-repackageclasses 'com.drakeet.purewriter'
-allowaccessmodification

关于仅仅只删除Log日志的地方,我想问一下用什么优化算法合适?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment