Google has moved some of the standard C library functions, such as atof (), from built-in functions to header files for regular functions. Recent NDKs will by default create .so, which is only compatible with the latest Android devices that have the atof () function in the deviceโs standard C library (libc.so). This means that if you run the library on an older device that has an older version of the C library, you will get an error loading the dll, since the expected atof () function will not exist.
You tried to install this in your Application.mk application:
APP_PLATFORM := android-9
This will force the ndk compiler to create code compatible with older versions of Android.
You can also try downgrading the NDK installation to version 10b (this version precedes the change when atof was moved from the built-in libc part to avoid the problem completely).
JosephH
source share