下载flutter SDK 后检验flutter出现了问题 目前已解决。
报错:
[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
X cmdline-tools component is missing
Run `path/to/sdkmanager --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.
起因:运行flutter doctor 出现了错误,这是因为没安装cmdline-tools工具
解决:首先打开andriod studio,按照下图点击。
然后:如下图 找到工具并且安装
安装完成问题就解决啦!
重新运行flutter doctor命令,发现问题已解决。