From 5416dd24d73192945af1f93ae382b344123e0b08 Mon Sep 17 00:00:00 2001 From: Eder Bastos Date: Sun, 25 May 2014 18:52:23 -0400 Subject: [PATCH] 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. --- Source/Android/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/Android/build.gradle b/Source/Android/build.gradle index aa519cf29f..c9277ea178 100644 --- a/Source/Android/build.gradle +++ b/Source/Android/build.gradle @@ -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' + } } }