dlazaro66 / QRCodeReaderView

Modification of ZXING Barcode Scanner project for easy Android QR-Code detection and AR purposes
1.9k stars 492 forks source link

Camera crashes on some devices: java.lang.RuntimeException: startPreview failed #43

Closed JoeKaldas closed 8 years ago

JoeKaldas commented 8 years ago

My app crashes on some devices giving me java.lang.RuntimeException: startPreview failed error in "Camera Manager" class in line 138 "theCamera.startPreview();"

It works fine on some devices, Samsung S6, HTC One M8 with versions 5.1 and 6,0.

However it crashes on Samsung S3 with version 4.3 along with other devices

sintret commented 8 years ago

E/com.dlazaro66.qrcodereaderview.QRCodeReaderView: Exception: startPreview failed

dlazaro66 commented 8 years ago

Can you provide more informtion about this?

sintret commented 8 years ago

it is already fixed now. maybe my phone device have no camera.

sahityakumarsuman commented 6 years ago

Did anyone get correct response how this can be avoid so crash can be stopped.