journeyapps / zxing-android-embedded

Barcode scanner library for Android, based on the ZXing decoder
https://journeyapps.com/
Apache License 2.0
5.74k stars 1.27k forks source link

Camera Error 100 #679

Open emrisb opened 2 years ago

emrisb commented 2 years ago

Description of the problem:

We are getting black preview screen, when we started scanner like below.

Screenshot_20211101-144443

Which library version are you using? E.g. 3.2.0. 4.2.0

Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5, Android 5.0) General Mobile GM 8 d, 9

Does the same happen on other devices or an emulator? No

Can you reproduce the issue in the sample project included with the library? If not, can you provide your own sample project or sample code that produces this error? It occurs in production app.

In the case of an error do you have a stack trace or adb logs? E Camera : Error 100

rkistner commented 2 years ago

Does it happen with the sample app? (Download from https://github.com/journeyapps/zxing-android-embedded/releases) It would also help to see the full stack trace, not just the error.

Either way, this is likely a device-specific issue. Pull requests to fix the issue will be accepted, but apart from that it's difficult to help unless you can reproduce on different devices.

emrisb commented 2 years ago

@rkistner Same in sample app, it does not show preview just black screen like below. We can not take stack trace, because we do not have the device.

Picture1
rkistner commented 2 years ago

In that case it's unfortunately not enough info to do anything about this issue, and we can only assume that it's a bug with the specific device.