【问题标题】:Android Studio, Flutter Doctor, Plugins not installedAndroid Studio,Flutter Doctor,未安装插件
【发布时间】:2018-10-06 01:04:12
【问题描述】:

我已经遇到这个问题好几个月了。
Android Studio 3.2(最新版本)

Flutter 0.8.2 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5ab9e70727 (4 weeks ago) • 2018-09-07 12:33:05 -0700
Engine • revision 58a1894a1c
Tools • Dart 2.1.0-dev.3.1.flutter-760a9690c2

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
[✓] Android Studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Android Studio (version 3.2)
[✓] IntelliJ IDEA Community Edition (version 2018.1)
[✓] VS Code (version 1.27.2)
[✓] Connected devices (2 available)

发现 Android Studio 存在 teo 插件问题... 这些插件已安装,我仍然可以使用 Flutter 为 iOS 和 ANDROID 编译。但仍在寻找 OSx 上的解决方案

【问题讨论】:

    标签: flutter android-studio-3.0 flutter-plugin


    【解决方案1】:

    您可以按照以下步骤install the Flutter and Dart plugin in Android Studio:

    1. 启动 Android Studio。
    2. 打开插件首选项(macOS 上的Preferences > Plugins,File > Windows 和 Linux 上的设置 > 插件)。
    3. 选择Browse repositories,选择Flutter插件并点击 安装。

    1. 在提示安装 Dart 插件时单击是。

    1. 出现提示时点击重启。

    现在运行 Android Studio。

    运行flutter doctor。你应该得到这个输出:

    【讨论】:

      【解决方案2】:

      解决方案非常简单。你必须在 android studio 中安装 Dart 插件。

      在 Mac 上:

      1. 打开 Android 工作室。
      2. 首选项。
      3. 插件。
      4. 浏览存储库。
      5. 搜索 dart 并安装它。
      6. 搜索 Flutter 并安装它。
      7. 重新启动 android studio 以进行更改。现在运行颤振医生,您的问题将得到解决。

      在 Windows 和 Linux 上:

      1. 路径为File>Settings>Plugins,其余步骤同上。

      【讨论】:

        猜你喜欢
        • 2019-01-15
        • 2021-01-29
        • 2021-04-09
        • 2021-04-30
        • 1970-01-01
        • 2021-01-16
        • 2021-02-07
        • 2020-05-05
        • 2021-01-29
        相关资源
        最近更新 更多