No Implementation Found for Method Pick Image on Channel Plugins Flutter IO Image Picked

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/] Unhandled Exception: MissingPluginException(No implementation found for method pickImage on channel
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>

This Post Has One Comment

  1. No Fault

    For those who still having problems on Android, this one solved mine..

    For some reason image_picker plugin haven’t been registered automacally

    Go to Android > app > main > java> io> flutter > plugins and edit

    import io.flutter.plugins.imagepicker.ImagePickerPlugin;

    paste this line inside method registerWith ImagePickerPlugin.registerWith(registry.registrarFor(“io.flutter.plugins.imagepicker.ImagePickerPlugin”));

Leave a Reply