Android 使用NDK获取错误

Android 使用NDK获取错误,android,android-ndk,cocos2d-x,Android,Android Ndk,Cocos2d X,我正在使用COCOS2D-x进行android游戏开发,我正在ubuntu环境中工作 我正在关注这一点 当我将helloworld程序更改为本机c时,它会运行。我得到以下错误 17:12:59 **** Incremental Build of configuration Default for project SampleApp **** /home/user/Folder/Softwares/android-ndk-r8e/bash /home/user/folder/Soft

我正在使用COCOS2D-x进行android游戏开发,我正在ubuntu环境中工作

我正在关注这一点



当我将helloworld程序更改为本机c时,它会运行。我得到以下错误

    17:12:59 **** Incremental Build of configuration Default for project SampleApp ****
/home/user/Folder/Softwares/android-ndk-r8e/bash /home/user/folder/Softwares/cocos2d/SampleApp/proj.android/build_native.sh NDK_DEBUG=1 V=1 
Cannot run program "/home/user/Folder/Softwares/android-ndk-r8e/bash": Unknown reason

Error: Program "/home/user/Folder/Softwares/android-ndk-r8e/bash" not found in PATH
PATH=[/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/user/Folder/Softwares/android-ndk-r8e]

,在cocos2dx的build_native.sh文件中,指导我做错了什么以及哪里做错了添加NDK路径

路径
NDK_ROOT=“E:\android-NDK-r8e-windows-x86\android-NDK-r8e”

您找到解决此问题的方法了吗?在eclipse中,我遇到错误:无法运行程序“/ndkr8e/android-ndk-r8e/bash”:原因未知。如果你得到帖子,回答hre。非常感谢。