繁体   English   中英

如何设置android NDK路径?

[英]How to set android NDK path ?

15:41:40 **** Clean-only build of configuration Debug for project Diggers ****
Info: Configuration "Debug" uses tool-chain "Cygwin GCC" that is unsupported on this system, attempting to build anyway.
"C:\\NVPACK\\android-ndk-r8\\ndk-build.cmd" clean 
Cannot run program "C:\NVPACK\android-ndk-r8\ndk-build.cmd": Launching failed

Error: Program "C:\NVPACK\android-ndk-r8\ndk-build.cmd" not found in PATH
PATH=[C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.7.0_10\bin;D:\and007\android-sdk-windows\androidndk;;D:\and007\eclipse;]

15:41:40 Build Finished (took 155ms)

你必须先设置项目文件夹的路径(包含jnisrc文件夹的文件夹)然后运行Android-ndk命令

cd path_to_the_your_project

然后在Android-ndk文件夹中运行包含完整路径ndl-build文件的命令,如/android-ndk-r8c/ndk-build

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM