I just created 2 flavors for my app: Staging and Production.
Everything seems to work well in both flavors so now I would like to upload my staging release apk (signed) so that testers can test it.
As I have a different applicationId for my staging app:
stage {
applicationId defaultConfig.applicationId + ".stage"
versionName defaultConfig.versionName + "-stage"
resValue "string", "app_name", "MyApp Staging"
}
Do I need to create a new App in console play console and deploy this apk to the new version or is there a way to use the same App?
Right now, when I try to upload the staging release app, I get the following error:
Upload failed
Your APK needs to have the package name com.my.app.