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

Lost connection to device. #3

Open
hadi7khan opened this issue Jan 3, 2024 · 1 comment
Open

Lost connection to device. #3

hadi7khan opened this issue Jan 3, 2024 · 1 comment

Comments

@hadi7khan
Copy link

I am clicking pictures first time and it is working fine. When i try to use camera second time, app gets crashed and "Lost connection to device." is logged in terminal.

@johandb
Copy link

johandb commented Apr 28, 2024

When I use the demo code I get an error, see below

E/flutter ( 9843): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.image_picker_android.ImagePickerApi.pickImages"., null, null)
E/flutter ( 9843): #0 ImagePickerApi.pickImages (package:image_picker_android/src/messages.g.dart:337:7)
E/flutter ( 9843):
E/flutter ( 9843): #1 ImagePickerAndroid.getMultiImageWithOptions (package:image_picker_android/image_picker_android.dart:224:33)
E/flutter ( 9843):
E/flutter ( 9843): #2 CameraGalleryImagePicker.pickMultiImage (package:camera_gallery_image_picker/src/cameragalleryimagepicker.dart:155:41)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants