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

image_picker: ^0.4.12+1 无法打开 #757

Closed
jiangbing0125 opened this issue Jun 22, 2020 · 1 comment
Closed

image_picker: ^0.4.12+1 无法打开 #757

jiangbing0125 opened this issue Jun 22, 2020 · 1 comment

Comments

@jiangbing0125
Copy link

Steps to Reproduce

  1. 目前测试Android端打不开相册和相机
  2. 非AndroidX项目

Flutter Boost Version
flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: 'v1.12.13_support+6'

image_picker: ^0.4.12+1
Target Platform:
Target OS version/browser:
Devices:

Logs

add your crash log or something else.

E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method pickImage on channel plugins.flutter.io/image_picker)
#0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)

#1 ImagePicker.pickImage (package:image_picker/image_picker.dart:50:40)
#2 ImagePickerSheet._takePhoto (package:fluttermodulecfw/widget/image_picker.dart:77:36)
#3 ImagePickerSheet.showImageSheet.. (package:fluttermodulecfw/widget/image_picker.dart:48:42)
#4 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
#5 _InkResponseState.build. (package:flutter/src/material/ink_well.dart:789:36)
#6 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
#7 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
#8 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
#9 BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7)
#10 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
#11 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
#12 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
#13 GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
#14 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
#15 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
#16 _rootRunUnary (dart:async/zone.dart:1138:13)
#17 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#18 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
#19 _invoke1 (dart:ui/hooks.dart:273:10)
#20 _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
image

@nightfallsad
Copy link
Collaborator

Steps to Reproduce

  1. 目前测试Android端打不开相册和相机
  2. 非AndroidX项目

Flutter Boost Version
flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: 'v1.12.13_support+6'

image_picker: ^0.4.12+1
Target Platform:
Target OS version/browser:
Devices:

Logs

add your crash log or something else.

E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method pickImage on channel plugins.flutter.io/image_picker)
#0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)

#1 ImagePicker.pickImage (package:image_picker/image_picker.dart:50:40)
#2 ImagePickerSheet._takePhoto (package:fluttermodulecfw/widget/image_picker.dart:77:36)
#3 ImagePickerSheet.showImageSheet.. (package:fluttermodulecfw/widget/image_picker.dart:48:42)
#4 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
#5 _InkResponseState.build. (package:flutter/src/material/ink_well.dart:789:36)
#6 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
#7 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
#8 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
#9 BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7)
#10 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
#11 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
#12 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
#13 GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
#14 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
#15 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
#16 _rootRunUnary (dart:async/zone.dart:1138:13)
#17 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#18 _CustomZone.runUnaryGuarded (dart:async/zone.dart:933:7)
#19 _invoke1 (dart:ui/hooks.dart:273:10)
#20 _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
image

可以看下#816

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