Closed nexxuno closed 4 years ago
So, versionCode — A positive integer used as an internal version number. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions.
https://developer.android.com/studio/publish/versioning
The greatest possible value for android:versionCode is MAXINT (2147483647). However, if you upload an app with this value, your app can't ever be updated.
Hello @jamesmontemagno , I know that, but the new version code your extension is setting is 1593974275 (10 digits) in theory which is in range. I don't know where that 11 digit number is coming from (note that it's almost the same number with a 2 in front of it). It was working till yesterday.
I'm not sure because android:versionCode="1593974275" android:versionName="0.0.509" is what it says.... so looks like the script worked...
https://forums.xamarin.com/discussion/112717/the-aapt-task-failed-unexpectedly-versioncode-is-invalid are you splitting your apk? dont' do that and use app bundle if you can.
you are right, sorry for the issue here
Here is the error:
But the actual task only does this:
There is a 2 in front of the code that makes it go out of range.