[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
- [BUG] Cowork (Windows): all Plan9 shares fail with "Plan9 mount failed: invalid argument" after Windows update KB5124008 (26200.9445) — uninstalling the KB fixe
- Feature Request: Auto-resume CLI session when usage limit resets
- Please deobfuscate the Python
- [Bug] MLX version of Gemma 4 26B fails to load: "Model type gemma4 not supported" (macOS)
- # 233 Developers Discussed Abandoning the Office Add-in Platform — An Open Letter on the Office.js Stability, Security & Trust Crisis
- [FEATURE] Allow users to configure which shell the Bash tool uses or inherit initial shell
Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments
reliability (Software)
[BUG] Cowork (Windows): all Plan9 shares fail with "Plan9 mount failed: invalid argument" after Windows update KB5124008 (26200.9445) — uninstalling the KB fixe
Feature Request: Auto-resume CLI session when usage limit resets
Please deobfuscate the Python
[Bug] MLX version of Gemma 4 26B fails to load: "Model type gemma4 not supported" (macOS)
# 233 Developers Discussed Abandoning the Office Add-in Platform — An Open Letter on the Office.js Stability, Security & Trust Crisis
[FEATURE] Allow users to configure which shell the Bash tool uses or inherit initial shell
Admin Materials and Surfaces
AMD Support
[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 [
Comments (0)
No comments yet. Start the discussion.