4
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)
4

1 回答 1

1

您必须首先设置项目文件夹(包含文件夹的文件夹)的路径, jni然后src运行 ​​Android-ndk 命令,如

cd path_to_the_your_project

然后像这样运行包含ndl-buildAndroid-ndk文件夹中完整路径文件的命令/android-ndk-r8c/ndk-build

于 2013-01-02T10:49:15.497 回答