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:versioncode — integer 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
Post a Comment