Android – NDK- Build error

androidandroid-ndkndk-build

I am buliding a NDK for fbReader. But I am unable to build NDK.
whn I am using cmd ndk-build the it says no command found.
But I fill full path of NDK hen ite show the below error..

Android NDK: Application x86-4.2.1 targets unknown ABI 'all'

Android NDK: Please fix the APP_ABI definition in /cygdrive/d/fbReader/jni/Application.mk
Android NDK: to use a set of the following values: armeabi armeabi-v7a x86
/cygdrive/c/Programs/android-ndk-r4b/build/core/add-application.mk:99: * Android NDK: Aborting . Stop.

Please help me to solve it.

Best Answer

Go to the ndk location(cd C:\android\ndk) using command prompt. Then type the command

ndk-build -C your_project_location

Hope this will get you in the right direction. You can find more information on "ndk-build" using the command

ndk-build --help
Related Topic