Using Android Studio 1.2 beta, Proguard 4.7, I'm not able to optimize (remove) Log.d.
Using the tools d2j-dex2jar and jd-gui I can see that all the Log.d remains in the apk.
Any wise comments on this problem?
The proguard-rules.pro are used because the -dontwarn are working.
My proguard-rules.pro:
-assumenosideeffects class android.util.Log {
public static *** v(...);
public static *** i(...);
public static *** w(...);
public static *** d(...);
public static *** e(...);
}
-dontwarn com.google.common.**
-dontwarn javax.annotation.**
-dontwarn javax.inject.**
-dontwarn sun.misc.Unsafe
-dontwarn org.joda.time.**