diff --git a/platforms/android/android.toolchain.cmake b/platforms/android/android.toolchain.cmake index 900ca8c91c..e0b4bf8d65 100644 --- a/platforms/android/android.toolchain.cmake +++ b/platforms/android/android.toolchain.cmake @@ -244,7 +244,7 @@ set( ANDROID_SUPPORTED_ABIS_mips "mips" ) set( ANDROID_SUPPORTED_ABIS_mips64 "mips64" ) # API level defaults -set( ANDROID_DEFAULT_NDK_API_LEVEL 8 ) +set( ANDROID_DEFAULT_NDK_API_LEVEL 9 ) set( ANDROID_DEFAULT_NDK_API_LEVEL_arm64 21 ) set( ANDROID_DEFAULT_NDK_API_LEVEL_x86 9 ) set( ANDROID_DEFAULT_NDK_API_LEVEL_x86_64 21 ) diff --git a/platforms/android/build_sdk.py b/platforms/android/build_sdk.py index 61c9f7d34f..7d52eab9c0 100755 --- a/platforms/android/build_sdk.py +++ b/platforms/android/build_sdk.py @@ -130,7 +130,7 @@ class Builder: "-DBUILD_ANDROID_EXAMPLES=ON", "-DINSTALL_ANDROID_EXAMPLES=ON", "-DANDROID_STL=gnustl_static", - "-DANDROID_NATIVE_API_LEVEL=8", + "-DANDROID_NATIVE_API_LEVEL=9", "-DANDROID_ABI='%s'" % abi.cmake_name, "-DWITH_TBB=ON", "-DANDROID_TOOLCHAIN_NAME=%s" % abi.toolchain