From 390459d83e54791e9080c7a68186d80b87400994 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 12 Jan 2019 12:11:06 -0800 Subject: [PATCH] Updated minimum supported Android version to API 16, to match latest NDK toolchain --- build-scripts/androidbuildlibs.sh | 2 +- docs/README-android.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build-scripts/androidbuildlibs.sh b/build-scripts/androidbuildlibs.sh index 934becc684810..3e57b4710e8a5 100755 --- a/build-scripts/androidbuildlibs.sh +++ b/build-scripts/androidbuildlibs.sh @@ -69,6 +69,6 @@ ndk-build \ NDK_LIBS_OUT=$lib \ APP_BUILD_SCRIPT=Android.mk \ APP_ABI="armeabi-v7a arm64-v8a x86 x86_64" \ - APP_PLATFORM=android-14 \ + APP_PLATFORM=android-16 \ APP_MODULES="SDL2 SDL2_main" \ $ndk_args diff --git a/docs/README-android.md b/docs/README-android.md index 585a5e25c8b24..4feb42dc207da 100644 --- a/docs/README-android.md +++ b/docs/README-android.md @@ -20,7 +20,7 @@ https://developer.android.com/sdk/index.html Android NDK r15c or later https://developer.android.com/tools/sdk/ndk/index.html -Minimum API level supported by SDL: 14 (Android 4.0.1) +Minimum API level supported by SDL: 16 (Android 4.1) ================================================================================ @@ -380,13 +380,13 @@ https://developer.nvidia.com/tegra-graphics-debugger ================================================================================ - Why is API level 14 the minimum required? + Why is API level 16 the minimum required? ================================================================================ -The latest NDK toolchain doesn't support targeting earlier than API level 14. +The latest NDK toolchain doesn't support targeting earlier than API level 16. As of this writing, according to https://developer.android.com/about/dashboards/index.html -about 99% of the Android devices accessing Google Play support API level 14 or -higher (October 2017). +about 99% of the Android devices accessing Google Play support API level 16 or +higher (January 2018). ================================================================================