You need to use a different version code for your APK because you already have version 1 code
I know this was asked here
Correct answer is change version does not solve my problem id added these two lines to my manifest
android:versionCode="2"
android:versionName="2.01"
but then when I clean and build with android studio, generate the apk again, then upload the same error.
Note. I have verified that this is the correct file that I am trying to upload in the developer console.
+3
source to share
3 answers
In build.gradle file check if you have version code
defaultConfig {
minSdkVersion 10
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
because if you mentioned versionCode in your build.gradle file it will overwrite the values ββin the manifest file. Please make sure you mention the version code here and you have updated here as well.
+8
source to share