Flutter not found when developing plugin for Android
It worked for me when I did the next steps (assuming that Dart and Flutter plugins are configured in the Android Studio Preferences properly):
- Close all the projects up until you see the "welcome to Android Studio" window with recent projects list and a set of options in the center
- Select "Open existing Android Studio project"
- Select the file
plugin/example/android/build.gradle
You need to install the Flutter SDK https://flutter.dev/docs/get-started/install/windows#get-the-flutter-sdk
Then in Android Studio, go to settings>plugins, and install the Flutter and Dart plugins.
Then check whether you have provided you SDK path at Settings> Language & Frameworks > Flutter