Open coffeeplanter opened 6 years ago
may be this can help you. https://github.com/saki4510t/UVCCamera/issues/181
You can try switching the NDK version to 12
I'm having the same issue with Inogeni and Pixel on 8.0. Switching to NDK 14b didn't help.
I also had same problems with NDK15 and eventually found that clang was the reason. Then I change the compiler to gcc by uncomment "NDK_TOOLCHAIN_VERSION := 4.9" from "libuvccamera/src/main/jni/Application.mk". And it works now.
this solved the issue for me, thank you @zangpuu
@dmitrykcom This fixed it for me on a different phone/camera setup but I'm now also having issues with the inogeni and a pixel 2. Did you have any success?
I also had same problems with NDK15 and eventually found that clang was the reason. Then I change the compiler to gcc by uncomment "NDK_TOOLCHAIN_VERSION := 4.9" from "libuvccamera/src/main/jni/Application.mk". And it works now.
this works for me , thanks
After a series of recent Android SDK package updates, this error started to happen. I confirmed this by making sure the code is exactly the same as it was a few weeks ago when it was working. There were so many updates that it is impossible to pinpoint the culprit update.
Hi, guys!
While launching the test apps I'm getting error:
E/UVCCamera: [11204*UVCCamera.cpp:172:connect]:could not open camera:err=-1
usbcameratest
,usbcameratest0
,usbcameratest2
are also crashing with the following message:Using the latest sdk 27 and ndk 16, Logitech cam, and Samsung SM-A710F device.
Help me please to find the reason of the error and fix it.