Peter-St / Android-UVC-Camera

GNU Lesser General Public License v2.1
136 stars 25 forks source link

infrared UVC not showing #30

Open heaveninfosoft opened 2 years ago

heaveninfosoft commented 2 years ago

infrared UVC not showing

Peter-St commented 2 years ago

Hi,

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

Thx, Peter

heaveninfosoft commented 2 years ago

why ndk error show? it not occur in earlier version

Peter-St commented 2 years ago

I'm going to solve this issue.

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

heaveninfosoft commented 2 years ago

when will you solve?

Peter-St commented 2 years ago

Hi,

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

heaveninfosoft commented 2 years ago

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

Peter-St commented 2 years ago

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.

heaveninfosoft commented 2 years ago

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

Peter-St commented 2 years ago

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 commented 2 years ago

Hi,

I changed the native Build System from NDK to CMake.

You can try it again now.