Are you getting the error “Version code 1 has already been used. Try another version code” while uploading or updating your app on Google Play Console?
I will show you a simple and quick fix for this common Android publishing issue. This problem usually happens when you try to upload a new APK or AAB file without increasing the version code properly.
In this tutorial, you will learn:
Fix version code already used error in Google Play Console
How to find the build.gradle (Module: app) file.
How to correctly update the versionCode and versionName.
How to sync your project and generate a new signed bundle.
Tips for managing version numbers for future updates.
Steps to Follow:
1. Open your project in Android Studio.
2. Go to Gradle Scripts - build.gradle (Module: app).
3. Change the versionCode from 1 to 2 (or the next number).
4. Update your versionName (e.g., from 1.0 to 1.1).
5. Click Sync Now.
6. Generate a new Signed Bundle/APK and upload it to the Play Console.
7. Upload it to Google Play Console
Important Tip:
Always make sure your versionCode is higher than the previous release, otherwise Google Play Console will reject your update.
If you found this video helpful, please Subscribe to my channel "How to fix" for more quick solutions to technical problems!
Don't forget to:
✅ Like the video
✅ Comment with your questions
✅ Share with fellow developers
#androidstudio #googleplayconsole #VersionCodeError #appupdates #howtofix