Issue
I am implementing image_picker in my app. That is not showing any warning or message but when I run it in Android simulator it shows me an error in console:
[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method pickImage on channel plugins.flutter.io/image_picker)
E/flutter ( 5074): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:7)
E/flutter ( 5074): <asynchronous suspension>
E/flutter ( 5074): #1 ImagePicker.pickImage (package:image_picker/image_picker.dart:53:40)
E/flutter ( 5074): <asynchronous suspension>
Solution
I solved my problem by simply run following command:
flutter clean
After this my Android simulator start working correctly.
Answered By - Code Hunter
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.