How to remove all debug logging calls before building the release version of an Android app?
I find a far easier solution is to forget all the if checks all over the place and just use ProGuard to strip out any Log.d() or Log.v() method calls when we call our Ant release target. That way, we always have the debug info being output for regular builds and don’t have to make … Read more