How can I find the minimum supported platform for a given Android NDK?

时间:2015-10-30 23:59:53

标签: android android-ndk

I am REALLY sorry to ask what may be a very elementary question. I'm working with a code library written in C. I've been building and running it using NDK version 8e. Also using SDK 22, and the minimum execution platform is 8 (Froyo, I believe). Now I've introduced the use of timerfd_create. It looks like the earliest NDK that includes sys/timerfd.h is v20. What does (or doesn't) this imply about the minimum execution platform? thank you.

1 个答案:

答案 0 :(得分:0)

如果您使用NDK平台 android-21 ,您的库将保证在运行Lollipop及更高版本的设备上加载。即使android-3/arch-arm/usr/include/asm/unistd.h defines __ NR_timerfd_create ,此功能很可能在较低平台上无法使用。