【Flutter】flutter doctor报错
Flutter doctoer报错,解决方法,亲测好用
问题
F:\flutter\flutterWorkSpace\flutter_app_demo>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.0, on Microsoft Windows [Version 10.0.18363.1556], locale zh-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
X cmdline-tools component is missing
r --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[√] Android Studio (version 4.1)
[√] IntelliJ IDEA Ultimate Edition (version 2018.3)
[√] Connected device (2 available)
! Doctor found issues in 1 category.
解决方法:
- 打开Android studio 选择tools–>SDK Manager
- 选择 左侧的Android SDK->SDK Tools ->Android SDK Command-line Tools(latet);下载最新的
朋友们我们本篇的内容到这就结束了,本篇的内容还是非常简单的,如果有啥不会的朋友咱们可以一起谈论哈~
如果朋友你感觉文章的内容对你有帮助,可以点赞,关注文章和专栏以及关注我哈,嘿嘿嘿我会定期更新文章的,感谢朋友们的支持!
更多推荐
所有评论(0)