title: Release-Debug Builds for Android Application
body: <p>In C++ I would normally setup 2 builds - debug and release with each having <code>DEBUG</code> and <code>RELEASE</code> predefined respectively. I would then use these definitions to determine constant values, like logging enabled/disabled, server URL and etc.</p>
  
  <p>Right now, in Java/Android I comment out some stuff before building release. That is not a good way, I can tell. I may forget something.</p>
  
  <p>What is a common practice for ensuring nothing is forgotten when building a release version (signed) or debug version (unsigned)?</p>