Attach '.debug' to the end of the app's package name. This allows for installation of both debug and release configs on the same device.
This commit is contained in:
parent
010ca048df
commit
5416dd24d7
|
@ -71,8 +71,16 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
// Signed by release key, allowing for upload to Play Store.
|
||||||
release {
|
release {
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Signed by debug key disallowing distribution on Play Store.
|
||||||
|
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
|
||||||
|
debug {
|
||||||
|
packageNameSuffix '.debug'
|
||||||
|
versionNameSuffix '-debug'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue