I want to remove all print statements with proguard. Is there an equaivilent to the code below but for System.out.println()
-assumenosideeffects class android.util.Log {
public static *** d(...);
}
For removing all System.out.println
, you can add following in your rules.
-assumenosideeffects class java.io.PrintStream {
public void println(%);
public void println(**);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With