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"
}
}
// ...