I'm starting with flutter.
after installing flutter and dart plugins in android studio and downloading flutter SDK
flutter doctor couldn't recognize android studio. I used
flutter config --android-studio-dir="C:\Program Files\Android\Android Studio"
in cmd.
now flutter doctor recognize android but error is this
[!] Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
To solve Android Studio (not installed) issue You just need to flutter the config to set the android studio path.
2. Select SDKs. If you don't have an Android SDK in that list then click the + icon and select Android SDK, now point to the SDK path. While trying to create a new project Android studio checks Gradle installation online, now if you are on a proxy network then you will encounter an installation problem.
I once tried with flutter config --android-studio-dir C:\Program Files\Android\Android Studio but unfortunately it does not work because of empty space which breaks the tree structure. Later I used the quotes like this: flutter config --android-studio-dir "C:\Program Files\Android\Android Studio". I hope it works!
To avoid breaking the path structure, change the command to flutter config --android-studio-dir="C:\Program Files\Android\Android Studio" include "=" between ..."dir=C:\
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With