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! |