Failed to launch emulator: Error: Emulator didn't connected within 60 seconds

前端 未结 13 1600
清歌不尽
清歌不尽 2020-12-31 03:19

Unable to debug using VSCode for flutter. I\'m using windows and I\'m trying to use a android emulator.

I have attempted to reinstall flutter, android SDK and VSCod

13条回答
  •  误落风尘
    2020-12-31 03:47

    I am using Genymotion 3.0.2., VS Code (version 1.36.1)

    You can read about it here - Using Genymotion Emulator with Flutter in VS Code — (Without Android Studio)

    Open up Genymotion and go to the ADB Setting section:

    Notice how the default selection is “Use Genymotion Android Tools (default)”? With this selection, the emulator is not recognized.

    Change it to “Use custom Android SDK tools”, set the SDK location to where your SDK is (in my case it’s at “C:\Program Files (x86)\Android\android-sdk”). Make sure the tick mark (“This folder is valid”) is displayed.

    Close the settings box. Now reload your “VS Code” IDE.

提交回复
热议问题