This is just my noobtastic googling:
Trojan Foe said:
This relates to an issue where some functions, including atof() and srand(), were static inline before android-21 but have been moved into the library .so file since then. If you compile your app against the android-21 and run it on a pre-android-21 device you will get this error.
I would imagine the answer is to ensure your app does not run on a version of android less than the one it was compiled against.
So I guess the issue is the Android SDK you are using. Not the NDK. I just updated my project.properties, AndroidManifest.xml and its compiling now!
Here are the changes I made:
In project.properties:
target=android-10
In AndroidManifest.xml:
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10" />
In Application.mk
APP_PLATFORM := android-10