Using gradle to generate a separate development APK

Posted on 02 Sep 2014 by Eric Oestrich

Being able to have the same application installed for both development and the release version is very handy. It lets you always have a stable version of the app installed.

app/build.gradle
android {
  // ...

  buildTypes {
    debug {
      // ...
      applicationIdSuffix ".dev"
    }
  }

  // ...
comments powered by Disqus
Creative Commons License
This site's content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License unless otherwise specified. Code on this site is licensed under the MIT License unless otherwise specified.