I am having lots of logging statements to debug for example.
Log.v(TAG, \"Message here\");
Log.w(TAG, \" WARNING HERE\");
while deploying t
The easiest way is probably to run your compiled JAR through ProGuard before deployment, with a config like:
-assumenosideeffects class android.util.Log {
public static int v(...);
}
That will — aside from all the other ProGuard optimisations — remove any verbose log statements directly from the bytecode.