Consider the following:
- Typically, developers will set the
minSdkVersion
to 16 because this covers over 99% of devices (1). - However, on August 1, 2019, Android will require all apps to offer 64-bit versions (2).
- Furthermore, the NDK API level (set with
-D__ANDROID_API__
) must be equal to theminSdkVersion
(3). - Finally, Android devices running on arm64-v8a do not support any lower than API level 21 (4).
I've tried to do research to figure out how all of this stuff works -- until now I've mostly been hacking my way through just trying to get dependencies to build in order to port my C++ library to Android -- so forgive me if I'm missing something quite obvious. But it seems to me that the above indicates that apps built with the Android NDK will have to target a minimum of API level 21 starting August 1, 2019. Is this correct?
References: