Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set Build path in Eclipse for ndk program

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..

like image 702
TamiL Avatar asked Aug 06 '12 09:08

TamiL


1 Answers

//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 
like image 176
Padma Kumar Avatar answered Sep 29 '22 11:09

Padma Kumar