none
Problem with Visual Studio Emulator for Android

    Question

  • I just did a clean install of Windows 10 on my machine.  Enabled Hyper-V and installed Visual Studio 2015 Community with Update 2.  I launch the emulator and attempt to load 4 or 5 devices each time I get the following set of messages.

    1> 4/4/2016 11:54:34 PM : [Informational] Emulator manager version: 1.0.60106.1
    1> 4/4/2016 11:54:34 PM : [Informational] Emulator manager plugin version: 1.0.60106.1
    1> 4/4/2016 11:54:34 PM : [Informational] Microsoft Windows NT 10.0.10586.0 Windows 10 Pro
    1> 4/4/2016 11:54:34 PM : [Informational] Virtualization type: UnknownOrNotVirtual
    1> 4/4/2016 11:54:34 PM : [Informational] Virtualization Version: alware - 1
    1> 4/4/2016 11:54:34 PM : [Informational] Virtualization Serial Number: f91d6r1
    1> 4/4/2016 11:54:34 PM : [Informational] Virtualization Product: m17xr3
    1> 4/4/2016 11:54:35 PM : [Informational] Display Adapter 0: Name: Intel(R) HD Graphics 3000, Version: 9.17.10.4229
    1> 4/4/2016 11:54:35 PM : [Informational] Display Adapter 1: Name: NVIDIA GeForce GTX 560M    , Version: 10.18.13.6472
    2> 4/4/2016 11:54:36 PM : [Informational] Reinitializing installed profiles.
    2> 4/4/2016 11:54:36 PM : [Informational] Installed profiles initialized. Devices: 4 Platforms: 2
    2> 4/4/2016 11:54:36 PM : [Informational] Reinitializing installable profiles.
    2> 4/4/2016 11:54:36 PM : [Informational] Installable profiles initialized. Devices: 38 Platforms: 5
    3> 4/4/2016 11:54:38 PM : [Informational] Waiting to launch device...
    3> 4/4/2016 11:54:38 PM : [Informational] Launching Device: 5.1" Marshmallow (6.0.0) XXHDPI Phone
    3> 4/4/2016 11:54:38 PM : [Informational] Validating emulator arguments...
    3> 4/4/2016 11:54:38 PM : [Informational] Determining if emulator is already running...
    3> 4/4/2016 11:54:38 PM : [Informational] Preparing virtual machine...
    3> 4/4/2016 11:55:06 PM : [Informational] Launching emulator...
    3> 4/4/2016 11:56:43 PM : [Critical] Could not launch 'VS Emulator 5.1" Marshmallow (6.0.0) XXHDPI Phone' device. Exit code 10.
    3> 4/4/2016 11:56:43 PM : [Critical] XDE Path: C:\Program Files (x86)\Microsoft XDE\10.0.10240.0\xde.exe
    3> 4/4/2016 11:56:43 PM : [Critical] XDE Arguments: /sku Android /displayName "VS Emulator 5.1\" Marshmallow (6.0.0) XXHDPI Phone" /memSize 3072 /diagonalSize 5.1 /video "1440x2560" /vhd "C:\Users\Matt\AppData\Local\Microsoft\VisualStudioEmulator\Android\Containers\Local\Devices\vhd\5.1_Marshmallow_(6.0.0)_XXHDPI_Phone\image.vhd" /name "VS Emulator 5.1-inch Marshmallow (6.0.0) XXHDPI Phone.matt"
    3> 4/4/2016 11:56:43 PM : [Critical] XDE Exit Code: CouldntStartVm (10)

    I've been scouring the internet for 2 days now and don't appear to be making any headway.  Any assistance in getting this resolved would be appreciated.



    Matt Klepeis

    • Moved by IoTGirl Tuesday, April 05, 2016 5:11 PM Not Smart Device related
    Tuesday, April 05, 2016 4:05 AM

Answers

  • I was finally able to solve this by using the following steps....

    1) Open an Admin Command Prompt and run the following commands

    • net localgroup administrators
    • net localgroup administrators LOCAL /delete
    • net localgroup administrators SERVICE /delete

    2) Open Device Manager and click on View -> Show Hidden Devices. Go down to Network Adapters and uninstall everything.  Then right click at the root of Device Manager and select Detect hardware changes to reinstall your network adapters.

    3) Uninstall Hyper-V

    4) Reboot

    5) Reinstall Hyper-V

    6) Attempt to run Virtual machine.


    Matt Klepeis

    • Marked as answer by MattKlepeis Thursday, April 07, 2016 4:05 AM
    Thursday, April 07, 2016 4:05 AM

All replies

  • Hi Matt Klepeis,

    Thanks for your post.

    Please check whether you have installed the Android Development components

    In addition, please follow the article below to troubleshoot it:

    https://msdn.microsoft.com/en-us/library/mt228282.aspx

    Best Regards,

    Lake Xiao

    Thursday, April 07, 2016 1:35 AM
    Moderator
  • I was finally able to solve this by using the following steps....

    1) Open an Admin Command Prompt and run the following commands

    • net localgroup administrators
    • net localgroup administrators LOCAL /delete
    • net localgroup administrators SERVICE /delete

    2) Open Device Manager and click on View -> Show Hidden Devices. Go down to Network Adapters and uninstall everything.  Then right click at the root of Device Manager and select Detect hardware changes to reinstall your network adapters.

    3) Uninstall Hyper-V

    4) Reboot

    5) Reinstall Hyper-V

    6) Attempt to run Virtual machine.


    Matt Klepeis

    • Marked as answer by MattKlepeis Thursday, April 07, 2016 4:05 AM
    Thursday, April 07, 2016 4:05 AM