From d614c02e85d54f7b834fe35004d16fe7b6d7425c Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Mon, 7 Oct 2019 10:52:38 -0700 Subject: [PATCH] Fix versionCode --- tools/update_android_version.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/update_android_version.sh b/tools/update_android_version.sh index 262e9d2b3..823249ad1 100755 --- a/tools/update_android_version.sh +++ b/tools/update_android_version.sh @@ -9,8 +9,11 @@ VERSIONCODE=$(($(($minor*10000)) + $VERSIONCODE)) VERSIONCODE=$(($(($patch*1000)) + $VERSIONCODE)) VERSIONCODE=$(($(($dev)) + $VERSIONCODE)) -# Command line specifies either 32 or 64 bit version -VERSIONCODE=$1$VERSIONCODE +# The android versionCode is for the entire package. It is the same for the 32 and 64 bit APKs. +# At one point it was thought the versionCode was specific to APK. Hence the 32/64 bitness was +# included as a prefix. That was incorrect. But now we are stuck with version codes starting with +# a prefix of 64. +VERSIONCODE=64$VERSIONCODE MANIFEST_FILE=android/AndroidManifest.xml -- 2.22.0