如何解决颤振医生错误说已连接设备(医生检查崩溃)?

1 android flutter

当我尝试运行 flutter doctor 时,它向我表明

   "Connected  devices (the doctor check crashed)
    Due to an error, the doctor Check did not complete."
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

小智 5

转到 C:\Users\Admin\AppData\Local\Android\Sdk\platform-tools where your adb located

删除文件 platform-tools

https://developer.android.com/studio/releases/platform-tools 下载最新的平台工具,大约 15 Mb

解压并复制到 C:\Users\Admin\AppData\Local\Android\Sdk\platform-tools