From 8daa270631ed3936f328586c654c9129d4b6d0cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 7 Dec 2020 10:05:30 +0100 Subject: [PATCH] Android: Fix support for API 18-20 for 32-bit Fixes https://github.com/godotengine/godot/issues/44159. --- android.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android.py b/android.py index de585b8..51fb9ef 100755 --- a/android.py +++ b/android.py @@ -522,7 +522,9 @@ def main(raw_args): parser.add_argument('--toolchains-prefix', default=path_join(home, 'android-toolchains'), help=default_help) parser.add_argument('--android-sdk', default=android_sdk_default, help=default_help) parser.add_argument('--android-ndk', default=android_ndk_default, help=default_help) - parser.add_argument('--android-api-version', default='21', help=default_help) + # Default API version should be in sync with Godot's platform/android/detect.py. + # Note that `get_api_version_or_min` will upgrade it to 21 for arm64v8 and x86_64. + parser.add_argument('--android-api-version', default='18', help=default_help) parser.add_argument('--android-cmake-version', default='autodetect', help=default_help) cmd_utils.add_runtime_arguments(parser, default_help)