Android Studio Dart And Flutter Plugin is not installed

后端 未结 11 689
傲寒
傲寒 2020-12-17 19:56

Here is the flutter doctor result:

[√] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version 10.0.18362.30], locale en-US)
[√] Android t         


        
相关标签:
11条回答
  • 2020-12-17 20:17

    open terminal: Mac User: flutter config --android-studio-dir=/Applications/Android\ Studio.app

    0 讨论(0)
  • 2020-12-17 20:18
    1. open terminal:
    2. run> flutter channel dev
    3. run> flutter channel updrade
    0 讨论(0)
  • 2020-12-17 20:20

    Since you say you have flutter plugin installed in Android Studio, and if Android Studio correctly shows your installed plugin, there is no reason to believe any third-party tool reporting otherwise.

    Also, this will not affect your flutter development and your IDE plugins will work as expected inside the IDE and flutter tool's commands work independent of the IDE in use.

    Android Studio 4.1 apparently changed its default plugin install path.

    Related github issue: [flutter_tools] IDE plugin validators should be deprecated #61246

    Flutter does not directly use the IDE plugins, so doctor failing to detect them does not affect any behavior (it's just annoying).

    0 讨论(0)
  • 2020-12-17 20:20

    If you are upgrading for an existing project:

    Run

    git clone https://github.com/flutter/flutter.git

    in your terminal.

    The be sure to delete the Flutter folder in your App's root directory. Otherwise you will get over 50k errors popping up

    0 讨论(0)
  • 2020-12-17 20:21

    change channel master to dev. then upgrade.

    flutter channel dev
    flutter channel upgrade
    

    try again

    flutter doctor
    

    Note: I think it's Android Studio 4.1 issue...

    0 讨论(0)
  • 2020-12-17 20:23

    Are you using Android Studio V 4.1? With Android Studio V4.1 there is a problem. Try to reinstall Android Studio but Version 4.0.1 and try it again, chances are this will fix your problem.

    0 讨论(0)
提交回复
热议问题