I am trying to remove logging lines from my apk and i use proguard for this.
It doesn't remove the lines, what can be the problem? (i know that proguard is on, because i test the apk by decompiling to see if it is obfuscated)
This is the full contents of my proguard config file:
-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(...);
}
You can only remove logging if optimization is not disabled, which requires specifying a different global configuration file in
project.properties
:Similar questions and answers: