Flutter设备无法找到开发设备;请在Visual Studio Code上运行“ flutter doctor”

时间:2018-11-06 13:57:54

标签: visual-studio-code flutter

我创建了一个新的flutter的项目;我可以在Android Studio上找到该设备,但不能在Visual Studio Code上找到该设备,而当我在命令行上运行flutter doctor时,这就是我的答案: flutter devices无法找到开发设备。请运行“ flutter doctor”以获取有关安装其他组件的信息。 请帮忙!

2 个答案:

答案 0 :(得分:1)

根据 guediriabdou

https://github.com/flutter/flutter/issues/22649#issuecomment-450020266

flutter config --android-sdk /path/to/android/sdk 

然后您必须运行此命令

flutter doctor --android-licenses 

之后,请接受

之后的所有许可
flutter doctor

答案 1 :(得分:0)

how to solve Unable to locate a development device flutter issue ?

下载SDK平台android API 29,然后解决此问题