-
Notifications
You must be signed in to change notification settings - Fork 407
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
With camera1, getting "IllegalStateException: Camera error code: 1" #26
Comments
Could you please also attach all logs with You also have an option to switch back to Camera2, if you like. That's how you can do it: builder
.cameraProvider(v2(context)) |
Thanks! Specifying v2 Here's the full log in Android Studio if I select "Show only selected application".
If I turn off filters, I also see this before the above:
|
You are getting a CAMERA_ERROR_UNKNOWN. If android doesn't know what's the issue, I can't either :) This is not a bug related to FA but the device's compatibility with camera1 API. Which device are you using and more interestingly what API level? Alternatively you can force v2 as @dmitry-zaitsev suggested. |
I'm using Pixel XL, Android 7.1.2, and the app has |
Actually, I got an error dialog when using the Android built-in camera app. So I rebooted the phone, and the problem has gone away without needing to force |
Since d8fad94, my app now crashes with this backtrace:
When
camera2
was the default, the app did not have this problem.The text was updated successfully, but these errors were encountered: