saki4510t/OpenCVwithUVC

CreateProcess error=2, The system cannot find the file specified :opencv:ndkBuild

a-eye-tech opened this issue · 3 comments

CreateProcess error=2, The system cannot find the file specified

:opencv:ndkBuild
Execute exec

Can someone please help me with this issue? I tried adding "C:/OpenCV-android-sdk" to "gradle.properties", but that does not work for me.

Anybody?

Hi,

I just fixed this by setting sdk and ndk in local.properties

For me it was adding those lines at the end of the file :

sdk.dir=C:\Users\luou\AppData\Local\Android\Sdk (It was already there)
ndk.dir=C:\Users\luou\Downloads\android-ndk-r13b-windows-x86_64\android-ndk-r13b

Best regards

@ouvrierl Thank you so much! This is what I added to my local.properties:

ndk.dir=C:\android-ndk-r13b

Looks like I had to downgrade my ndk.