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

前端 未结 13 1469
清歌不尽
清歌不尽 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:34

    i had same problem, i tried to stopping emulator based on Answer of Rahul Shukla:

    Steps:

    Open Android Studio Tools -> AVD Manager Virtual Device -> Actions (Refer Image) Click On Stop Now Start Emulator Now it's working fine :)

    but it not work for me. i test another way. i use these steps:

    • Open Android Studio Tools -> AVD Manager Virtual Device -> Actions Click On Wipe data

    Now Start Emulator and Enjoy it!!

    0 讨论(0)
  • 2020-12-31 03:35

    This is what worked for me. In Android Studio, go to Settings, and select HAXM. Then go to Tools, AVD Manager, and click on the Play button to start your emulator.

    Also, make sure you have enabled Hardware Acceleration in your BIOS, if you have not done so yet. Check this post for this matter: Error during installing HAXM, VT-X not working

    0 讨论(0)
  • 2020-12-31 03:35

    For me, it was "Not enough disk space". Generally, in these situations, you can run Android studio then Tools-> AVD manager and start manually.

    If there is a issue then you can see the actual in android studio logs.

    0 讨论(0)
  • 2020-12-31 03:41

    The problem for me was that Intel HAXM wasn't installed. When I opened AVD Manager through Android Studio and tried to launch the emulator from there (instead of trying through VS Code), it told me that HAXM was required and prompted me to install it. After Android Studio installed HAXM successfully, I could run the emulator from VS Code without any issues.

    0 讨论(0)
  • 2020-12-31 03:41

    You need to first install android studio.

    Follow these steps (Works for Android Studio 3.5.1)

    • Choose "Run" in the top menu bar
    • Press on "Select Device"
    • Select "AVD manager"

    • There will be a popup now for creating your virtual device.

    0 讨论(0)
  • 2020-12-31 03:41

    I've added a user environment variable:

    • Name: ANDROID_HOME

    • Path: Your android folder path, personally it was D:\Android

    and restart.

    Hope it ll work for you.

    0 讨论(0)
提交回复
热议问题