Skip to content

Instantly share code, notes, and snippets.

@act262
Created December 26, 2014 11:16
Show Gist options
  • Save act262/f88be797d7f6377ff2b9 to your computer and use it in GitHub Desktop.
Save act262/f88be797d7f6377ff2b9 to your computer and use it in GitHub Desktop.
Android正式发布时移除Log,在混淆代码中添加
-assumenosideeffects class android.util.Log {
public static boolean isLoggable(java.lang.String,int);
public static int v(...);
public static int i(...);
public static int w(...);
public static int d(...);
public static int e(...);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment