OpenCVwithUVC icon indicating copy to clipboard operation
OpenCVwithUVC copied to clipboard

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

Open a-eye-tech opened this issue 5 years ago • 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.

a-eye-tech avatar Jan 06 '20 07:01 a-eye-tech

Anybody?

a-eye-tech avatar Mar 08 '20 03:03 a-eye-tech

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 avatar Mar 26 '20 13:03 ouvrierl

@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.

a-eye-tech avatar Mar 27 '20 07:03 a-eye-tech