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:
1 parent
010ca048df
commit
5416dd24d7
1 file changed
+8
@@ -71,8 +71,16 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
// Signed by release key, allowing for upload to Play Store.
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user