I try to run the sample code on a Pixel 2 XL running Android 8.1 (through USB C port) and it crashes after validating the USB permission system dialog.
Note: The usb camera is working fine with another app on the same device. And it was also working just fine on USB C port running Android 7.X
Here is the stacktrace, tell me if you need more data to troubleshoot this issue:
I also use the device like this (Android 8.0.0,type-c), my device willnot cash after the he USB permission system dialog,but the preview window did not display the image and the window always be black
I try to run the sample code on a Pixel 2 XL running Android 8.1 (through USB C port) and it crashes after validating the USB permission system dialog.
Note: The usb camera is working fine with another app on the same device. And it was also working just fine on USB C port running Android 7.X
Here is the stacktrace, tell me if you need more data to troubleshoot this issue: