0
C:\Users\ASUS>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19042.1526], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    X Android SDK file not found: adb.
[√] Chrome - develop for the web
[√] Android Studio (version 2021.1) ` `
[√] VS Code (version 1.64.2)
[√] Connected device (2 available)

! Doctor found issues in 1 category.
4

1 回答 1

0

android_sdk/platform-tools/未安装在您的计算机中,或者您在安装和添加到您的路径时出错

如果你使用 Android Studio 去settings然后System SettingsAndroid SDK安装Android SDK Platform-Tools

如果它没有帮助重新安装平台工具,这可能会有所帮助

您可以按照链接手动安装SDK 平台工具 ,但请记住将 android bin 文件夹的路径添加到您的env

有关更多信息,您可以阅读这篇文章

于 2022-02-28T16:06:40.483 回答