Android NDK Support Version Limited

Viewed 3873

I have used Android NDK for years, however, recently, I saw the message below when I built CPPs using ndk-build(ndk version 15)

Android NDK: android-9 is unsupported. Using minimum supported version android-14. Android NDK: WARNING: APP_PLATFORM android-14 is higher than android:minSdkVersion 9

Why does NDK stop supporting Android levels(3-13) lower than android-14?

I tried to find out why at NDK guides, https://developer.android.com/ndk/guides/stable_apis.html although I still have no idea. It seems NDK still supports higher than or equal to level 3.

I also guessed that one of flags or features I need in c++ may cause this. However, I could not even find any clue so far.

LOCAL_CPP_FEATURES := rtti exceptions
APP_CPPFLAGS += -std=c++11
APP_STL := gnustl_static

 

2 Answers
Related