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.
时间: 2024-04-19 19:25:58 浏览: 167
Mac版本cmdline-tools工具包
对于缺少cmdline-tools组件的问题,你可以运行以下命令进行安装:`path/to/sdkmanager --install "cmdline-tools;latest"`。你可以在https://developer.android.com/studio/command-line上找到更多详细信息。
至于Android许可证状态未知的问题,你可以运行`flutter doctor --android-licenses`来接受SDK许可证。你可以在https://flutter.dev/docs/get-started/install/windows#android-setup上找到更多详细信息。
阅读全文