Skip to content

Guides

"Version Code Has Already Been Used" in Play Console: Why It Happens and the 2.1 Billion Limit

The error means your new build carries a version code Play has already seen. Here is how to find the highest code, why switching builders triggers it, and a calculated date when clock-based codes hit Google's cap.

9 min read

The Play Console error "Version code 123 has already been used. Try another version code" means the app bundle you uploaded carries a version code that Google Play has already seen for that app. Android requires the version code to increase with every release, so the fix is a new build with a higher number than the highest one you have ever uploaded. It is most common when a build from a new tool or a rebuilt project is uploaded to an existing Play listing for the first time. We checked this against Google's version codes page in November 2026.

Highest version code Play allows

2,100,000,000

per Google's Play Console Help

Version code size

32-bit integer

it must increase with every release

Seconds-based codes hit the cap

18 Jul 2036

our calculation, see below

What does "version code has already been used" mean?

Every Android app has two version fields. Google describes versionCode as a 32-bit integer that increases with each new release, which the Android system and Google Play use to decide whether one version is newer than another. versionName is the text users see, such as "1.2.0". Play Console compares the code, not the name. Changing only the visible version number in your builder does nothing, because the code underneath is unchanged.

Why does it happen on a build that looks new?

The usual cause is a mismatch between your tool and your Play history. Adalo's own help page describes the error as most common when you load a build from a new app into an existing Google listing for the first time, because the code was already used in an earlier version. A community answer on Adalo's forum adds that Play keeps the highest code against the package name. We have not found Google stating that rule in the pages we read, so treat it as the community's explanation. It matches what the error itself says.

  • You switched tools or agencies and the new build restarted its code from a low number.
  • You rebuilt the project and the tool did not increment the code.
  • You uploaded the same build twice, for example to a second track.
  • A draft release in Play Console still holds a build with that code.

If your app was built by a converter, you cannot always set the code yourself. In the reported Adalo case, the builder had no field for it and the vendor had to raise it. Ask whoever builds your app whether you can set the version code or whether they raise it on request.

How do you fix it?

  1. 1

    Discard the failed release

    In Play Console, discard the release that holds the rejected bundle so you start clean.

  2. 2

    Find the highest code you have used

    Open the release overview or the app bundle explorer for your app and note the largest version code across all tracks.

  3. 3

    Set a higher code in your build

    Make the next build's version code greater than that number. In your own project this is versionCode in the build configuration; in a converter, use its setting or ask the vendor.

  4. 4

    Rebuild and upload

    Create a new release and upload the new AAB. Our APK vs AAB guide explains which file Play expects.

  5. 5

    Keep the numbering rule

    Never reuse a code, and never plan to go back to a lower one. Android requires codes to increase to prevent accidental downgrades.

Is there a limit on version codes?

Yes. Google says the greatest value Play allows is 2,100,000,000. If your code reaches or exceeds it, you can no longer upload new APKs or app bundles for that app. Google adds that Play support may be able to help if you hit the limit. That makes the numbering scheme a long-term decision, not just a way to clear one error.

We worked out when some popular schemes hit the cap. These are our own calculations, not figures from Google:

When common version code schemes hit the 2,100,000,000 cap (our calculation, November 2026)
SchemeExample codeStatus against the cap
Simple counter (1, 2, 3...)47Effectively unlimited
Date plus counter, YYYYMMDDNN2026112401Works until 2099; an early-2100 date gives 2,100,010,101, which is over the cap
Unix timestamp in seconds1795478400 (24 Nov 2026)Reaches the cap on 18 Jul 2036, about 9.6 years from now
Unix timestamp in milliseconds1795478400000Already over the cap

A plain counter is the safest choice, and Google recommends a strategy that increases gradually and consistently, monitoring your usage and adding automated checks to your release process. If you want to encode the date or other information into the code, check the largest value it can ever produce before you adopt it.

  • That you still hold the upload key; see our upload key reset guide if not.
  • That your target API level meets the current requirement, since a fixed version code will not help an update that is rejected for another reason.
  • That the rest of the release flow is in order, which our Google Play publishing guide walks through.

Frequently asked questions

What does "Version code has already been used" mean in Google Play?
The bundle you uploaded has a version code that Play has already seen for your app. Android requires version codes to increase with every release, so you need a new build with a higher number than any you have uploaded.
Can I change the version name instead of the version code?
No. versionName is only the text users see. Google Play compares the integer versionCode to decide which version is newer, so changing the name alone does not clear the error.
What is the maximum version code on Google Play?
Google says the greatest value Play allows is 2,100,000,000. If your code reaches or exceeds it, you can no longer upload new APKs or app bundles for that app, though Play support may be able to help.
Can I use a timestamp as my version code?
A Unix timestamp in seconds stays under the cap until 18 July 2036 by our calculation, and a timestamp in milliseconds is already over it. A plain counter is safer for a long-lived app.
Why do I get this error after switching app builders?
A new build may restart its version code from a low number while Play already holds higher ones for your listing. Check the highest code in Play Console and ask your builder to start above it.
How do I find my highest version code?
Open the release overview or app bundle explorer in Play Console and look at the version codes across all tracks. Set the next build above the largest one.