Android Ndk R8e Missing Stdlib.h
I'm testing some native library code with the Android NDK (android-ndk-r8e). The native library is being built from its makefile rather than Android's modified build system. Using
Solution 1:
You should create a standalone toolchain from NDK, and use that one to build your native library.
You will probably need to modify environment variables like CC
, LD
on the command line or inside Makefile to point to this new toolchain's gcc
. Something like:
CC="arm-linux-androideabi-gcc --sysroot=$SYS_ROOT"
LD="arm-linux-androideabi-ld"
Post a Comment for "Android Ndk R8e Missing Stdlib.h"