[英]Android ndk-build command issue
I have gone through this NDK example link .And i did all.But ndk-build not working(command not found).I tried ./ndk-build also but no success.I set the path variable too.I am using Ubuntu OS.Any help.Ndk path in bash.bashrc file is like this: 我已经完成了这个NDK示例链接 。并且我做了所有。但是ndk-build无法正常工作(命令未找到)。我尝试了./ndk-build但也没有成功。我也设置了路径变量。我正在使用Ubuntu OS .bash.bashrc文件中的任何help.Ndk路径都是这样的:
export NDK_HOME=/home/android/android-ndk-r8e-linux-x86/android-ndk-r8e/
The big problem is i am doing cd to this folder in command prompt and doing ndk-build and it's not working.The file inside this filder is ndk-build.cmd 最大的问题是我在命令提示符下执行cd到这个文件夹并执行ndk-build并且它不起作用。这个文件中的文件是ndk-build.cmd
If you want to run ndk-build
this way, you need the path of the executable file to be in the PATH
env variable. 如果要以这种方式运行
ndk-build
,则需要将可执行文件的PATH
放在PATH
env变量中。 Otherwise you have to specify the entire path to ndk-build
. 否则,您必须指定
ndk-build
的完整路径。 For instace /home/username/ndkpath/ndk-build
对于instace
/home/username/ndkpath/ndk-build
似乎你错了路径,而是使用
export NDK_HOME=/home/android/android-ndk-r8e-linux-x86/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.