1
votes

I uploaded apk with next Version code only For example my previous version code is 23 now i uploaded apk with version code 24.But Google play console showing "You uploaded an APK or Android App Bundle with an invalid version code, a version code must be specified and should be a positive integer"

I did not get any solution

1
How you changed the version code? - Strange
I had the similar bug. Google said something like "Your build version code is too low.". But when I increased version code +1 one more time it worked. - Zhebzhik Babich

1 Answers

2
votes

Go in the build.gradle and set the version code and name inside the defaultConfig element

defaultConfig {
    minSdkVersion 9
    targetSdkVersion 19
    versionCode 1
    versionName "1.0"
}