【问题标题】:Android Studio (version 4.1.0) ✗ Flutter plugin not installed; this adds Flutter specific functionalityAndroid Studio (4.1.0 版) ✗ 未安装 Flutter 插件;这增加了 Flutter 特定的功能
【发布时间】:2021-05-29 03:09:54
【问题描述】:

插件已安装在 android studio 中,但此错误显示在“fultter doctor”中 Android Studio(版本 4.1.0) ✗ 未安装 Flutter 插件;这增加了 Flutter 特定的功能。 ✗ Dart 插件未安装;这增加了 Dart 特定的功能。

【问题讨论】:

    标签: android flutter android-studio flutter-plugin


    【解决方案1】:

    这种情况发生在很多人身上。如果你正确安装了 Flutter 和 Dart,尽管有这个 Flutter Doctor 错误,一切都会正常工作。

    【讨论】:

    • 但在 android studio 中显示 Flutter 和 Dart 已安装
    • 此外,当我尝试制作颤振应用程序时,Android Studio 也显示错误“在指定位置找不到 SDK”。
    • 所以你必须在 Preferences > Languages & frameworks > dart > SDK path 中选择
    【解决方案2】:

    在终端中运行此命令:

    ln -s ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins ~/Library/Application\ Support/AndroidStudio4.1
    

    【讨论】:

    • 我也厌倦了它,但它给出了错误 - “ln : 术语 'ln' 未被识别为 cmdlet、函数、脚本文件或可运行程序的名称。”
    • 注意 - 我使用的是 Windows 电脑
    【解决方案3】:

    用于删除错误“Android Studio (version 4.1.0) ✗ Flutter plugin not installed” 运行命令“flutter channel dev && flutter upgrade.

    还用于在 android studio 中删除错误“SDK not found at specified location”,确保 SDK 的路径应该是 Flutter 主文件夹(例如 C:\src\flutter 而不是 bin 文件夹中设置的环境变量路径。

    【讨论】:

      猜你喜欢
      • 2019-11-26
      • 2020-08-16
      • 2021-01-28
      • 1970-01-01
      • 2021-01-29
      • 1970-01-01
      • 2019-01-15
      • 1970-01-01
      • 2020-09-05
      相关资源
      最近更新 更多