I know that to speed up things and eliminate CPU waste when an application is released, I can simply export it with proguard.cfg containing:
-assumenosideeffects class android.util.Log {
public static *** v(...);
public static *** i(...);
public static *** d(...);
public static *** w(...);
public static *** e(...);
}
But… if, for the purpose of convenient minimization of the juggle between Debug and Release version (which always requires a full uninstall one one before installing the other), I want to always run the debug version, without being connected via USB and with Settings => Applications => Development => USB debugging unchecked, do any of the Log.v(), Log.i(), etc. get executed at all?
I can’t really connect DDMS via USB to check this myself… so, thanks for any tip.
It will still write your log message to an internal log buffer.
And there’s some apps on the Market that can show this buffer, one of them called Android System Info or something like that, AFAIR.