BUDDYBOSS WEB

Your community, courses and memberships on your own website.

BUDDYBOSS APP

Your own branded app on iOS and Android.

DONE FOR YOU

We build, launch and run it for you.

BuddyBoss website and mobile app

Web + App Done For You

$4,999 flat

Web Scale + Done For You Web

App Launch + Done For You App

PRICING

Web Pricing

Launch, Scale and Done For You Web.

From

$199

first year

App Pricing

Solo, Launch and Done For You App.

From

$499

first year

SITE + APP

Web + App Done For You

Your site and your app, built and run for you.

$4,999

flat, never rises

How to Fix Google Play Upload Error – Version Code Already Been Used

Updated

Introduction

When uploading your Android App Bundle to the Google Play Console, you may encounter the error:

Version code 2 has already been used

This means the numeric versionCode in your AAB matches one already published or in draft. Google Play requires each upload to use a strictly higher versionCode.

Every Android release is identified by an integer versionCode. If you attempt to upload a new build with a versionCode that’s equal to or lower than one you’ve previously uploaded, the Play Console will reject it.

Explore BuddyBoss Platform | BuddyBoss App | BuddyBoss Pricing | Try BuddyBoss Demo

Increment the Version Code

  1. Open your app’s build.gradle (module-level) or your BuddyBoss App plugin’s Android settings.
  2. Locate the versionCode entry.
  3. Increase it to a unique, higher integer (e.g., from 2 to 3).
  4. Save your changes.

Generate a New Release AAB

  1. In WordPress, go to BuddyBoss App > Build.
  2. Select Release and click Send Build Request.
  3. Confirm that the new AAB reflects your updated versionCode in Step 2: Review Information.

Upload to Google Play Console

  1. Open the Play Console and navigate to Release > Production (or your track).
  2. Click Create new release.
  3. Upload the newly generated .aab file.
  4. Continue through the release flow—your build should now be accepted.

Do I Need to Generate a New Build?

Yes. Bumping the versionCode necessitates building a fresh AAB so that the updated code is embedded in your app package.

Troubleshooting and FAQs

Q: How do I check my current versionCode in Google Play?
A: In Google Play Console, go to Release > App Bundle Explorer. Each uploaded AAB shows its versionCode.

Q: Why can’t I reuse the same versionCode?
A: Google Play mandates each new upload use a strictly higher versionCode to identify updates correctly.

Q: What if I accidentally skip a versionCode?
A: It’s safe to skip numbers (e.g., jump from 2 to 10). Just ensure each new build’s code is greater than the last.

Q: I incremented versionCode but still get the error—why?
A: Confirm you rebuilt and re-uploaded the fresh AAB. Clear any cached build artifacts and retry the build process.

Explore BuddyBoss Platform | BuddyBoss App | BuddyBoss Pricing | Try BuddyBoss Demo

Was this article helpful?

Subscribe to Our Newsletter

This field is for validation purposes and should be left unchanged.
This field is hidden when viewing the form

Can’t find the answer you’re looking for?

Our support team is here to help with anything the docs don’t cover.