Flutter plugin not installed error;. When running flutter doctor

前端 未结 22 1775
渐次进展
渐次进展 2020-11-28 11:07

I am configuring Flutter SDK on my Linux Ubuntu 16.4 system. Why am I getting the following error when I run the flutter doctor? I have specified b

22条回答
  •  佛祖请我去吃肉
    2020-11-28 11:36

    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel beta, v0.9.4, on Linux, locale en_IN)
    [✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
    [✓] Android Studio (version 3.1)
        ✗ Flutter plugin not installed; this adds Flutter specific functionality.
        ✗ Dart plugin not installed; this adds Dart specific functionality.
    [!] Connected devices
        ! No devices available
    

    Solution that worked for me:

    1. Just install plugins.
      Studio>>File>Settings>Plugins>Browse Repositories
    2. Search for flutter.
    3. Tap on Install (a dialog will pop regarding dart dependency. click Yes).
    4. Once the installation is finished restart android studio.

    Now run flutter doctor.

    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel beta, v0.9.4, on Linux, locale en_IN)
    [✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
    [✓] Android Studio (version 3.1)
    [!] Connected devices
        ! No devices available
    

    androidflutterdartflutter-doctor

提交回复
热议问题