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

java.lang.Throwable:CameraException(setFlashModeFailed, Could not set flash mode.) #231

Closed
Miping-hero opened this issue Jan 2, 2024 · 0 comments
Labels
i: not following issue template This issue is not following issue template.

Comments

@Miping-hero
Copy link

main(2)

java.lang.Throwable

#0 CameraController.setFlashMode (package:camera/src/camera_controller.dart:659) #1 #2 CameraPickerState.wrapControllerMethod (package:wechat_camera_picker/src/states/camera_picker_state.dart:315)

1
java.lang.Throwable:CameraException(setFlashModeFailed, Could not set flash mode.)
2
com.jt.express.cambodia.outfield.activity.MainActivity.configureFlutterEngine$lambda$1(MainActivity.kt:130)
3
......
4
Caused by:
5
java.lang.Throwable:#0 CameraController.setFlashMode (package:camera/src/camera_controller.dart:659)
6
#1
7
#2 CameraPickerState.wrapControllerMethod (package:wechat_camera_picker/src/states/camera_picker_state.dart:315)
8
com.jt.express.cambodia.outfield.activity.MainActivity.configureFlutterEngine$lambda$1(MainActivity.kt:132)
9
com.jt.express.cambodia.outfield.activity.MainActivity.$r8$lambda$9dUWsVj2Lj_QKewdoQOBxD85Q_E(Unknown Source:0)
10
com.jt.express.cambodia.outfield.activity.MainActivity$$ExternalSyntheticLambda0.onMethodCall(Unknown Source:2)
11
io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)
12
io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
13
io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
14
io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
15
android.os.Handler.handleCallback(Handler.java:938)
16
android.os.Handler.dispatchMessage(Handler.java:99)
17
android.os.Looper.loopOnce(Looper.java:233)
18
android.os.Looper.loop(Looper.java:344)
19
android.app.ActivityThread.main(ActivityThread.java:8212)
20
java.lang.reflect.Method.invoke(Native Method)
21
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
22
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)

@Miping-hero Miping-hero added the await investigate The issue is waiting for further investigation. label Jan 2, 2024
@AlexV525 AlexV525 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2024
@AlexV525 AlexV525 added i: not following issue template This issue is not following issue template. and removed await investigate The issue is waiting for further investigation. labels Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i: not following issue template This issue is not following issue template.
Projects
None yet
Development

No branches or pull requests

2 participants