android - Is there a max value for versioncode? -


we have increment versioncode arbitary number publish google play.
there limit value , happen if reached?

defaultconfig {         applicationid "my.app"         minsdkversion 15         targetsdkversion 22         versioncode 65         versionname "1.05"         setproperty("archivesbasename", "myapp-$versioncode")      } 

according android documentation , gradle dsl documentation:

android:versioncodeinteger value represents version of application code, relative other versions.

checking java doc, default, int data type 32-bit signed two's complement integer, has minimum value of -2^31 , maximum value of (2^31)-1.

then maximum value 2^31-1.


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -