设置构建路径在Eclipse的NDK程序路径、程序、Eclipse、NDK

由网友(走意)分享简介:当我在Eclipse中建立一个Android应用程序此错误表明:This error was shown when I build a android application program in Eclipse:14:43:33 **** Incremental Build of configuration De...

当我在Eclipse中建立一个Android应用程序此错误表明:

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)

请给我一个解决方案,包括构建路径在Eclipse。

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

推荐答案

//转到 preference →安卓→ NDK 和选择你的NDK的位置

//goto Preference → Android → NDK and choose your ndk location

在你隐藏的.bashrc文件中添加此行以下

in your hidden .bashrc file add this below line

export NDK_PATH=/home/padmakumar/android-ndk-r7b
阅读全文

相关推荐

最新文章