saki4510t / UVCCamera

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

Unstable Interface with Camera, Used to Work #531

Open goatsss opened 4 years ago

goatsss commented 4 years ago

Hi,

I use UVCCamera for a phone camera program that has worked for over a year without issues but suddenly started crashing in late September. This was with the same APK that worked previously, and I made no changes to the phones (1+ A5000 with Android 7.1.1 and a Sony Xperia with Android 9). Has anyone heard of this before? I guessed that there must have been some change in the phone environment that Android didn't tell me about.

Currently, I can get a live preview on the 1+, but trying to take a picture minimized the program. If I press the square to show live programs, I can reselect the camera program, but the picture wasn't taken. On the Xperia, there is no preview. As you can see in the image, it's showing UnsatisfiedLinkError related to libusb100.so, which seems to be troublesome for many people.

UnsatisfiedLinkError-show

Thanks for reading. I would love to hear any ideas!

goatsss commented 4 years ago

For anyone interested, I can get the preview on the Xperia (Android 9) by using targetSdkVersion below 28 in the build.gradle.