I am trying to run my Flutter app on Android studio however I get the
E/flutter (25907): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method getStorageDirectory on channel plugins.flutter.io/path_provider) warning when I tap a related button.
On Android Studio I have Flutter and Dart plugins enabled and when I run
flutter doctor -v I see this output:
So I see two different versions for
2.10.0-0.3.pre/2.16.0 and also
57.0.1/201.9380. How is this possible and how can I prevent this?
That is not Flutter, that is Flutter Plugin for Android Studio. Totally two different things. There is an extension page in Android Studio, you need to download Flutter extension from that page. Which you did.
• Flutter plugin version 57.0.1
This shows that extension’s version, not Flutter’s.
This extension helps you to code on Android Studio, add support for Flutter. Has nothing to do with Flutter SDK.
Android Studio Extension Page:
Answered By – CidQu
Answer Checked By – Cary Denson (FlutterFixes Admin)