Set Build path in Eclipse for ndk program

TamiL picture TamiL · Aug 6, 2012 · Viewed 57.1k times · Source

This error was shown when I build a android application program in Eclipse:

14:43:33 **** Incremental Build of configuration Default for project com.***.NDKDemo ****
ndk-build all 
Cannot run program "ndk-build": Unknown reason

Error: Program "ndk-build" not found in PATH
PATH=[/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games]

14:43:33 Build Finished (took 16ms)

Please give me a solution to include the build path in Eclipse..

Answer

Padma Kumar picture Padma Kumar · Aug 6, 2012

//goto Preference Android NDK and choose your ndk location

enter image description here

or

in your hidden .bashrc file add this below line

export NDK_PATH=/home/padmakumar/android-ndk-r7b