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

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -