Android Studio,Flutter Doctor,未安装插件

问题描述 投票:0回答:2

我好几个月都有这个问题。 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
2个回答
0
投票

你可以通过以下步骤来install the Flutter and Dart plugin in Android Studio

  1. 启动Android Studio。
  2. 打开插件首选项(首选项> macOS上的插件,Windows和Linux上的文件>设置>插件)。
  3. 选择Browse repositories,选择Flutter插件,然后单击Install。

enter image description here

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

enter image description here

  1. 出现提示时单击“重启

enter image description here

现在运行Android Studio。

enter image description here

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

enter image description here


-1
投票

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

在Mac上:

  1. 打开Android工作室。
  2. 喜好。
  3. 插件。
  4. 浏览存储库。
  5. 搜索飞镖并安装它。
  6. 搜索颤振并安装它。
  7. 重启android studio以进行更改。现在运行扑医,你的问题将得到解决。

在Windows和Linux上:

  1. 路径为File> Settings> Plugins,其余步骤与上述相同。
© www.soinside.com 2019 - 2024. All rights reserved.