Andrew Fletcher 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
•
21 Sep 2022
Android Studio error when running app through emulator
Only a month ago, running an app through the Android Studio emulator was running fine. Now I'm warmly greeted by
Error
Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_NO_CERTIFICATES
The complete error is
Launching '{project}' on...
Andrew Fletcher
•
22 Aug 2022
Android releasing app issues
Warning from Google Play Store when uploading an App
You must complete the advertising ID declaration before you can release an app that targets Android 13 (API 33). We'll use this declaration to provide safeguards in Play Console to accommodate changes to advertising ID in Android 13.
Apps...
Andrew Fletcher
•
19 Aug 2022
Uploading Android App Bundle to Google Play Console - The Android App Bundle was not signed
Whilst uploading a new version of our Android app, I had the following error display
The Android App Bundle was not signed.
The short answer is in the build type release debuggable isn't set to false.
How to solve
In the build.gradle file (path: android > app)
{
...