设置构建路径在Eclipse的NDK程序 [英] Set Build path in Eclipse for ndk program
本文介绍了设置构建路径在Eclipse的NDK程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在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
这篇关于设置构建路径在Eclipse的NDK程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文