Merge pull request #310 from JoelWhitney/joel/android-11-x86_64

Android 11 build issue with 32-bit image
This commit is contained in:
Budi Utomo 2021-11-17 13:59:23 +01:00 committed by GitHub
commit 77488aea7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,8 +153,9 @@ function build() {
#adb root cannot be run in IMG_TYPE=google_apis_playstore
IMG_TYPE=google_apis
BROWSER=chrome
# Google dropped 32-bit support at Android 12
if [ "$v" == "9.0" ] || [ $level -ge 31 ]; then
# Android 9 & Android 11 had build issues that requires 64-bit
# Android 12+ Google dropped 32-bit support
if [ "$v" == "9.0" ] || [ $level -ge 30 ]; then
processor=x86_64
fi
fi