Android-UVC-Camera icon indicating copy to clipboard operation
Android-UVC-Camera copied to clipboard

infrared UVC not showing

Open heaveninfosoft opened this issue 3 years ago • 10 comments

infrared UVC not showing

heaveninfosoft avatar May 24 '22 14:05 heaveninfosoft

Hi,

I have updated the repo with UYVY support. Pls try out the repo again and report your results.

Thx, Peter

Peter-St avatar May 29 '22 17:05 Peter-St

why ndk error show? it not occur in earlier version

heaveninfosoft avatar May 31 '22 11:05 heaveninfosoft

I'm going to solve this issue.

It's because I included the libuvc library, but something isn't working as it should.

Peter-St avatar May 31 '22 11:05 Peter-St

when will you solve?

heaveninfosoft avatar May 31 '22 11:05 heaveninfosoft

Hi,

can you plz attach the log from the ndk build failure. Plz tell, which version of the ndk build tools you use.

Peter-St avatar May 31 '22 14:05 Peter-St

Caused by: com.android.builder.errors.EvalIssueException: [CXX1405] error when building with ndkBuild using B:\XXX\Android-UVC-Camera-master\Android-UVC-Camera-master\app\src\main\jni\Android.mk: Build command failed.

Caused by: org.gradle.process.internal.ExecException: Process 'command 'E:\XXXX\24.0.8215888/ndk-build.cmd'' finished with non-zero exit value 2

heaveninfosoft avatar May 31 '22 14:05 heaveninfosoft

In the apps build.gradle file following ndk version is devined:

ndkVersion "21.1.6352462"

try to get ndk build tool 21.1.6352462

I also had error when I used newer build tools.

Peter-St avatar May 31 '22 14:05 Peter-St

i think same happen because i tried too on that version earlier

heaveninfosoft avatar May 31 '22 14:05 heaveninfosoft

Hm, change your apps build gradle file to your ndk build version. Try it out again with the version "21.1.6352462" and attach the log. Search through the log in Android Studio and post all errors.

Thx, Peter

Peter-St avatar May 31 '22 14:05 Peter-St

Hi,

I changed the native Build System from NDK to CMake.

You can try it again now.

Peter-St avatar Jun 05 '22 20:06 Peter-St