Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 995
Jan Slominski Avatar asked Jul 20 '16 12:07

Jan Slominski


People also ask

Does Google console accept APK?

If you upload your app as an Android App Bundle, the Play Console automatically generates split APKs and multi-APKs for all device configurations your app supports.

How do I remove APK from Google Play console?

Open Play Console. Select an app. Go to Release > Setup > Advanced settings. On the App Availability tab, select Unpublish.


2 Answers

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.

like image 153
Jan Slominski Avatar answered Sep 24 '22 10:09

Jan Slominski


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.

like image 23
AL. Avatar answered Sep 23 '22 10:09

AL.