Skip to content

Commit

Permalink
Updated minimum supported Android version to API 16, to match latest …
Browse files Browse the repository at this point in the history
…NDK toolchain
  • Loading branch information
slouken committed Jan 12, 2019
1 parent be991f3 commit 390459d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build-scripts/androidbuildlibs.sh
Expand Up @@ -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
10 changes: 5 additions & 5 deletions docs/README-android.md
Expand Up @@ -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)


================================================================================
Expand Down Expand Up @@ -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).


================================================================================
Expand Down

0 comments on commit 390459d

Please sign in to comment.