From c608cfd643e247130e30f93e2bda86623da4e430 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 13 Nov 2018 16:45:27 +0800 Subject: [PATCH] Android: build for android-16 That's the minimum platform that we have used for a while now, corresponding to Android 4.1 and newer (i.e., quite ancient). Signed-off-by: Dirk Hohndel --- packaging/android/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/android/build.sh b/packaging/android/build.sh index c32dbc87d..dac16ab0d 100755 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -399,6 +399,7 @@ cmake $MOBILE_CMAKE \ -DQT_ANDROID_SDK_ROOT="$ANDROID_SDK_ROOT" \ -DQT_ANDROID_NDK_ROOT="$ANDROID_NDK_ROOT" \ -DANDROID_TOOLCHAIN="gcc" \ + -DANDROID_PLATFORM="android-16" \ -DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK_ROOT"/build/cmake/android.toolchain.cmake \ -DQT_ANDROID_CMAKE="$BUILDROOT"/qt-android-cmake/AddQtAndroidApk.cmake \ -DFORCE_LIBSSH=OFF \