android-maven-plugin: Disable debug build for apk
问题 I am not clear about the exact procedure for disabling debug build while building with android-maven-plugin: I understand that the export wizard with ADT(21.1) will automatically disable debugging but it is broken as BuildConfig.DEBUG always returns true and my logging used to depend on it. (Now I have my own property for logging defined in my maven build profiles.) So if I have to disable debugging using android-maven-plugin, what is the the right way to do it? I use the following plugins: