Android Development Tips

To use the toolchain in a autotools project

SYSROOT=$NDK_ROOT/platforms/android-9/arch-arm
export CC="arm-linux-androideabi-gcc --sysroot=$SYSROOT"
./configure --host=arm-eabi

Bash

To see what is the command that is failing while running nkd-build

ndk-build V=1

Bash