How to fix Flutter: error:MissingPluginException(No implementation found for method logIn on vscode
I keep getting MissingPluginException on flutter while running my iPhone simulator build. I hope by writing the solution down here, I can help those who had this error too. Here is a solution to solving this quickly!
How does this error happen?
MissingPluginException happens to me when I successfully installed a
flutter_facebook_login pub package on
pubspec.yaml while the iPhone simulator is running. Then I import the package, wrote the code on my flutter dart file, and BANG the error pop up on my debug console when I tried to run it…haha. I tried to refresh but it doesn't help.
The full MissingPluginException error on my vscode
flutter: error:MissingPluginException(No implementation found for method logIn on channel com.roughike/flutter_facebook_login)
- Stop the iPhone simulator.
2. Run the iPhone or android simulator again.
If by any chance you are stuck at “running pod install” on vscode while running an iPhone simulator, read this article for a solution.
Thank you, everyone. I hope it helps someone on the road to Flutter development. If it does, drop me a few claps 👏 👏 👏 …! Happy Fluttering!
Problems you might encounter:
How to fix Flutter stuck at “running pod install…” when running on vscode building on simulator
This happened when I copy and paste a plugin or pub package on pubspec.yaml while a build is running on iPhone…
How to fix Flutter + Xcode Debug.xcconfig:2: could not find included file ‘Generated.xcconfig’
This error occurred when I am creating multiple builds type for my app. Development and production build on 2 different…