Andrew Fletcher published: 22 August 2022 1 minute read
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 Fletcher
•
29 Sep 2024
Managing app versioning in Android Studio - simplifying versionCode, versionName, and versionNameSuffix
Versioning is an important aspect of any mobile app development process. In Android, this is handled through versionCode and versionName, which allow you to define the current state of your app for users and the Play Store. But where exactly should these be managed, and how can you ensure they...
Andrew Fletcher
•
31 Oct 2023
Android icon not changing
If the Android app icon is not changing from the default icon (in my situation this was the Capacitor icon), here are some steps to troubleshoot and resolve the issue: Check the Icon FilesEnsure that you have provided the correct icon files in the appropriate directory. In a Capacitor project,...
Andrew Fletcher
•
27 Oct 2023
Working through android.permission.REQUEST_INSTALL_PACKAGES blocking releases
I'm receiving an issue with a previous release on Google Playandroid.permission.REQUEST_INSTALL_PACKAGESI'm seeing the following message in Google PlayRequest install packages permission
error - Not started - Your app isn't compliant
A permission that allows your app to install packages. If your...