I've recently installed android studio 4.1.2 with flutter 1.22.6
even though I installed flutter and dart plugins in android studio the result of 'flutter doctor' command was as follows.
[√] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version
10.0.18362.30], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version
30.0.2)
[!] Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
Now for clear error act as below (Steps worked for me):
flutter channel dev
flutter upgrade
flutter config --android-studio-dir="C:Program FilesAndroidAndroid Studio"
flutter doctor -v
question from:
https://stackoverflow.com/questions/65899006/android-studio-4-1-2-dart-and-flutter-is-not-installed-in-flutter-doctor 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…