IssueRaiser

[camera] Android emulator camera throws `CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error` when taking a photo

<!-- Thank you for using Flutter! If you are looking for support, please check out our documentation or consider asking a question on Stack Overflow: * https://flutter.dev/ * https://api.flutter.dev/ * https://stackoverflow.com/questions/tagged/flutter?sort=frequent If you have found a bug or if our documentation doesn't have an answer to what you're looking for, then fill out the template below. Please read our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports --> This issue is reproduced in the plugin example, only in Android 12 emulator with the latest plugin version. https://github.com/flutter/plugins/blob/master/packages/camera/camera/example/lib/main.dart ## Steps to Reproduce <!-- Please include full steps to reproduce so that we can reproduce the problem. --> 1. Run the example, give all permission 2. Select the main camera, click the capture button **Expected results:** <!-- what did you want to see? --> Taking a photo must be successful **Actual results:** <!-- what did you see? --> Camera crash occurred: ``` [ +73 ms] I/Camera ( 7120): open | onError [ ] I/Camera ( 7120): close [ ] I/Camera ( 7120): closeCaptureSession [ +11 ms] E/CameraCaptureSession( 7120): Session 0: Exception while stopping repeating: [ ] E/CameraCaptureSession( 7120): android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error [

Posted by proninyaroslav on Oct 30, 2021, 3:36 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments

reliability (Software)

[camera] Android emulator camera throws `CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error` when taking a photo

proninyaroslavOct 30, 2021, 3:36 PM

<!-- Thank you for using Flutter! If you are looking for support, please check out our documentation or consider asking a question on Stack Overflow: * https://flutter.dev/ * https://api.flutter.dev/ * https://stackoverflow.com/questions/tagged/flutter?sort=frequent If you have found a bug or if our documentation doesn't have an answer to what you're looking for, then fill out the template below. Please read our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports --> This issue is reproduced in the plugin example, only in Android 12 emulator with the latest plugin version. https://github.com/flutter/plugins/blob/master/packages/camera/camera/example/lib/main.dart ## Steps to Reproduce <!-- Please include full steps to reproduce so that we can reproduce the problem. --> 1. Run the example, give all permission 2. Select the main camera, click the capture button **Expected results:** <!-- what did you want to see? --> Taking a photo must be successful **Actual results:** <!-- what did you see? --> Camera crash occurred: ``` [ +73 ms] I/Camera ( 7120): open | onError [ ] I/Camera ( 7120): close [ ] I/Camera ( 7120): closeCaptureSession [ +11 ms] E/CameraCaptureSession( 7120): Session 0: Exception while stopping repeating: [ ] E/CameraCaptureSession( 7120): android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error [

Comments (0)

No comments yet. Start the discussion.

Comment on this issue