Skip to main content

Uploading a new version of an Android app to Google Play and I'm seeing this error

Version code 1 has already been used. Try another version code.

There are three areas to observe:

Version Code: {whole integer}
Version Name: {String}
Version Name Suffix: {Integer}

Currently, my settings are:

Version Code: 2
Version Name: 2.0.1
Version Name Suffix: 1

While that is true for the app, cross-check the Play Store and what version is currently set in that environment.  The details there were

Release Latest version
6(2) 6
1.0.4 5

Therefore, my next version needs to be greater than 6.

Version Code: 7
Version Name: 2.0.1
Version Name Suffix: 1

 

Related articles

Andrew Fletcher16 Aug 2022

How to handle a lost KeyStore password in Android?

If you have a situation where either you have forgotten a Keystore password or change of developers and the password wasn't sent across.... what to do?  However, your app lives on and needs to be updated!   Possible solutions grade.properties This is a great starting point....
Andrew Fletcher03 Aug 2022

Android Studio emulator not loading

What I'm seeing in Android Studio when attempting to run the emulator? Launching 'app' on Pixel 5 API 33. Install successfully finished in 153 ms. $ adb shell am start -n "{project}.app.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Timed out waiting for...