Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
JoeKaldas opened this issue Mar 17, 2016 · 4 comments

Comments

@JoeKaldas
Copy link

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

@JoeKaldas JoeKaldas changed the title Camera crashes on some device: java.lang.RuntimeException: startPreview failed Camera crashes on some devices: java.lang.RuntimeException: startPreview failed Mar 17, 2016
@sintret
Copy link

sintret commented May 21, 2016

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

@dlazaro66
Copy link
Owner

Can you provide more informtion about this?

@sintret
Copy link

sintret commented Jul 19, 2016

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

@sahityakumarsuman
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants