【发布时间】:2021-05-05 10:31:19
【问题描述】:
[![已安装插件][1]][1] 我已经在 android studio 中安装了插件并将 C:\flutter\bin 添加到系统环境变量中,但是当我在 PowerShell 中运行 flutter doctor 时,它显示未安装插件。 我正在使用 Windows 操作系统。
Building flutter tool...
Running pub upgrade...
Downloading Material fonts... 0.5s
Downloading Gradle Wrapper... 0.0s
Downloading package sky_engine... 0.1s
Downloading flutter_patched_sdk tools... 1.0s
Downloading flutter_patched_sdk_product tools... 1.9s
Downloading windows-x64 tools... 2.2s
Downloading windows-x64/font-subset tools... 0.1s
Downloading android-arm-profile/windows-x64 tools... 0.3s
Downloading android-arm-release/windows-x64 tools... 0.3s
Downloading android-arm64-profile/windows-x64 tools... 0.3s
Downloading android-arm64-release/windows-x64 tools... 0.3s
Downloading android-x64-profile/windows-x64 tools... 0.3s
Downloading android-x64-release/windows-x64 tools... 0.3s
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.18363.1316], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[!] Connected device
! No devices available ```
[1]: https://i.stack.imgur.com/2KQHy.png
【问题讨论】:
标签: flutter