Visual studio android emulator will not start fully

前端 未结 10 1823
借酒劲吻你
借酒劲吻你 2020-12-05 03:06

I create a blank cordova application in visual studio 2015 and start debugging with the visual studio android emulators (first with the lollipop and then kitkat). XDE starts

相关标签:
10条回答
  • 2020-12-05 03:52

    On my machine I could start the emulator but I got an OpenGL error when trying to deploy and debug. I realized my issues started after I installed Docker. On a whim I decided to shut down Docker and disable the vEthernet (DockerNAT) Network Connection. This fixed my issue. Now, whenever I need to use the Andoird emulator I have to shut down Docker. Then when I'm done debugging I enable/restart Docker.

    0 讨论(0)
  • 2020-12-05 03:53

    I know this issue has been around for a while now, but I have just found a new solution for people who may still encounter this issue...

    I had the same issue (stuck on "OS Is Starting") for API v 21 & 22. API v23 images would start, but could not debug - the app would crash as soon as it launched.

    The following fixed the issue:

    • Shut down the emulator
    • Open Hyper-V manager
    • Go to the settings for the Android Image
    • Expand the "Processor" configuration node
    • Go to the "Compatibility" node
    • Check the "Migrate to a physical computer with a different processor version" option

    Apparently it has something to do with newer Processor architectures being incompatible with the Android images or something like that - don't really care, as long as it works :)

    0 讨论(0)
  • 2020-12-05 03:53

    I found my issue was related to the windows firewall with some enterprise policies my company applied to all PCs. Once I stopped the Windows Firewall service it worked just fine.

    0 讨论(0)
  • 2020-12-05 03:54

    I'm adding a separate answer though the insight provided by Gyum Fox provided the clues I needed to try other stuff ...

    [NOTE: The last time I was able to use the emulators (~3 weeks ago) I had wireless disabled and was using a wired connection on my Dev laptop. I ran out of space on my switch so re-enabled the wireless as the sole connectivity option. This may be totally coincidental, but read on and I'll let y'all decide.]

    After following Gyum's steps without success, I decided to turn off the wireless and then try launching the emulator.

    Wouldn't you know it ... it worked without an issue! 8-}

    Once I had the emulator running, I re-enabled the wireless and the emulator picked up the connectivity.

    I'm not a network guy so I'm not even gonna attempt to understand. It's a minor PITA but hey ... if it works!!! ;-}

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