flutter环境搭建问题

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 16:20   2855   0

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.20.0, on Microsoft Windows [Version 10.0.18362.418], locale zh-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
X Android SDK file not found: C:\Users\admin\AppData\Local\Android\sdk\build-tools\30.0.1\aapt.
[!] Android Studio (version 3.5)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code (version 1.47.1)
X Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[!] Connected device
! No devices available

1. 没有找到 sdk工具问题?

https://androidsdkmanager.azurewebsites.net/Buildtools 直接下载工具放到对应的build-tools目录下。

2. 没有licenses问题

>flutter doctor --android-licenses

3. 没有找到插件问题。

https://www.cnblogs.com/sonicyard/p/13947060.html

flutter channel dev

flutter doctor -v

flutter_windows_1.20.0-stable\flutter>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, 1.27.0-8.0.pre, on Microsoft Windows [Version 10.0.18362.418], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[√] Chrome - develop for the web
[√] Android Studio (version 3.5)
[√] VS Code (version 1.47.1)
[√] Connected device (1 available)

No issues found!

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP