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

运行demo 后置摄像头拍照报错 #48

Closed
lailiaomm opened this issue Aug 30, 2021 · 2 comments
Closed

运行demo 后置摄像头拍照报错 #48

lailiaomm opened this issue Aug 30, 2021 · 2 comments
Labels
p: Android This issue only happens on Android platform. r: camera Related to the camera package.

Comments

@lailiaomm
Copy link

lailiaomm commented Aug 30, 2021

后置摄像头拍照报错
手机:小米 redmi 10x
log:
E/flutter (13213): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: CameraException(captureTimeout, Picture capture request timed out)
E/flutter (13213): #0 CameraController.takePicture (package:camera/src/camera_controller.dart:346:7)
E/flutter (13213):
E/flutter (13213): #1 CameraPickerState.takePicture (package:wechat_camera_picker/src/widget/camera_picker.dart:738:23)
E/flutter (13213):

前置摄像头拍照没有问题

@AlexV525 AlexV525 added p: Android This issue only happens on Android platform. r: camera Related to the camera package. labels Aug 30, 2021
@AlexV525
Copy link
Member

试一下官方的 camera 是否有同样的情况,如果有的话,在 flutter repo 提一个 issue。

@lailiaomm
Copy link
Author

lailiaomm commented Aug 31, 2021

最新版的camera解决了这个问题 作者更新下吧 谢谢 @AlexV525

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: Android This issue only happens on Android platform. r: camera Related to the camera package.
Projects
None yet
Development

No branches or pull requests

2 participants