android - What am i doing wrong in ProGuard configuration to remove log lines? -


i trying remove logging lines apk , use proguard this.

it doesn't remove lines, can problem? (i know proguard on, because test apk decompiling see if obfuscated)

this full contents of 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 remove logging if optimization not disabled, requires specifying different global configuration file in project.properties:

  proguard.config=${sdk.dir}/tools/proguard/proguard-android-optimize.txt:proguard-project.txt 

similar questions , answers:


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -