# Remove logging in release builds # Keep Log.w() and Log.e() for crash reporting, remove only verbose/debug/info -assumenosideeffects class android.util.Log { public static *** d(...); public static *** v(...); public static *** i(...); } -keepattributes *Annotation* -keepattributes SourceFile, LineNumberTable