找不到设备Flutter VSCode Emulator

时间:2018-08-17 10:38:56

标签: android debugging visual-studio-code flutter

我正在使用memuPlayer作为模拟器,并且运行完美

但是突然之间,VSCode无法读取任何仿真器:

我尝试过:memuPlayer,NoxPlayer,BlueStack

所有这些都启用了USB调试

这是flutter doctor

的结果
[√] Flutter (Channel dev, v0.5.8, on Microsoft Windows [Version 10.0.17134.165], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.2)
[X] Android Studio (not installed)
[√] IntelliJ IDEA Ultimate Edition (version 2018.2)
[√] VS Code, 64-bit edition (version 1.26.1)
[!] Connected devices
    ! No devices available

    ! Doctor found issues in 2 categories.

我最后尝试将"--enable-software-rendering"放入args

2 个答案:

答案 0 :(得分:0)

我在Android Studio中遇到了同样的问题,并且用最新版本替换了Flutter SDK,并且对我来说很好用。

Flutter SDK链接:https://flutter.io/sdk-archive/#windows

答案 1 :(得分:0)

已通过删除SDK 28.0.2并已安装SDK 27.0.1解决了