saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
3k stars 1.21k forks source link

android support to androidx but UsbDevice.java(sdk) has problem #668

Open sang981113 opened 2 years ago

sang981113 commented 2 years ago

I just migrate android support to androidx. but it shows like this. image UsbDevice.java has problem that it uses android like this. image so I have added gradle dependancies about androidx.annotation and support.annotation, but SDK can't catch it. just it shows red codes.

I think maybe UVCCamera is not acceptable androidx.

i don't know what can i do. pls help me

sang981113 commented 2 years ago

when i deleted problem codes that contains usb device's serial nums and etc, app didn't crash but camera preview was not shown.

sang981113 commented 2 years ago

I think some bugs on UsbDevice.java(sdk). That library doesn't give correct result. It just call getSerialNumber method by device but sdk invoke error.