I set this default configuration to Gradle.
defaultConfig { applicationId "com.my.application" minSdkVersion 16 targetSdkVersion 22 versionCode 190011 versionName "2.2.1" }
And these flavors
productFlavors { dev { applicationIdSuffix ".dev" versionCode 333333 buildConfigField "String", "ANVIL_BASE_URL", "DEBUG_URL" resValue "string", "app_name", "app name dev" signingConfig signingConfigs.releasesign } prod { buildConfigField "String", "ANVIL_BASE_URL", "PROD_URL" resValue "string", "app_name", "app name" signingConfig signingConfigs.releasesign } }
I got an application released on the Play Store with the default application identifier "com.my.application", but when I have the Play Store version installed and you want to install the "dev" application, it displays a message that says the following:
app name dev App not installed The package conflicts with an existing package by the same name
Am I doing something wrong? I tried changing the buildCode for dev, but that didn't work either.
Any guess?
Thanks in advance.
source share