Google Play Developer Console error: The version code of your APK is high and you risk not being able to update your APK
Asked Answered
B

3

19

I'm trying to update my app to the Google Play Store. I have the current version number of the app set to 2000000000 and would like to update it to 2000000001. Please don't ask my why there are such version numbers chosen.

enter image description here

I got this error message when I try to push the new version: "Upload failed The version code of your APK is high and you risk not being able to update your APK.". The one thing I don't understand is that according to official google documentations the max version number is MAXINT, 2147483647, so I still have roughly 150 000 000 versions left. The other thing is, I managed to update other app with the same version numbering convention, the app is on the same dev account and I have no such error at all.

enter image description here

I checked all the numbers couple of times to be sure I'm not doing some stupid typo. I also already contacted Google support but maybe someone here have some kind of solution?

Bohner answered 20/7, 2016 at 12:23 Comment(0)
B
26

Google support responded to my requests. They changed the maximum available version code to 2000000000 and didn't update the documentation at the time I was posting this question (right now it is still MAXINT: 2147483647). Quite an edge case here but maybe someone will find this useful.

Bohner answered 8/8, 2016 at 8:16 Comment(1)
Cross-posted the answer here and here since it's the most viewed posts for max versionCode inquiries.Cognation
C
7

Looks like there was an update 08/11/2016 (UTC) in the docs. Not the old MAX_INT value or the 2000000000.

Warning: The greatest value Google Play allows for versionCode is 2100000000.

Cognation answered 11/8, 2016 at 23:40 Comment(2)
What happens after this value? Any way to reset it?Urticaceous
@GokhanArik You should contact Official Google Support thru email.Cognation
R
0

My Unity app had a high version code (not sure where from), I added version 3 and version code 3 in the Unity app, and that shut Google Play :) There is a crafty version for build.gradle though Unity 3D: What is the Android Bundle Version and Version Code and how do they relate?

Retardment answered 26/11, 2022 at 20:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.