简体   繁体   中英

i have set path of ndk-build in windows 8 but still getting error in path?

14:33:33 ** Auto Build of configuration Default for project OpenCV Tutorial 2 - Mixed Processing ** "

E:\\java & tc\\android\\NVPACK\\android-ndk-r8-crystax-1\\ndk-build\\ndk-build.cmd" 
Cannot run program "E:\java & tc\android\NVPACK\android-ndk-r8-crystax-1\ndk-build\ndk-build.cmd": Launching failed

Error: Program "E:\java & tc\android\NVPACK\android-ndk-r8-crystax-1\ndk-build\ndk-build.cmd" not found in PATH

PATH=[C:\Program Files (x86)\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0\bin;E:\java & tc\android\NVPACK\android-ndk-r8-crystax-1\ndk-build]

14:33:33 Build Finished (took 138ms)

this is the error i am getting...

Apparently, the command that your Eclipse tries to run (when using the ${NDKROOT}/ndk-build.cmd version) is C:\\\\android\\\\android-ndk-r8d-windows\\\\ndk-build.cmd , which is apparently correct.

The problem is that your ndk-build.cmd is not a windows command file. And it should be. I just downloaded the Windows version of the ndk-r8e and the ndk-build.cmd file is copied here

Try to download the ndk again or to modify your cmd file

You need to add Cygwin directory into your PATH too. To add to path right click Computer->Properties->Advanced System Settings-> "Advanced" tab -> Environment Variables

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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