Visual Studio (2015) Emulator for Android Not Working - Xde.Exe - Exit Code 3

Visual studio (2015) emulator for android not working - XDE.exe - Exit Code 3

After hours and hours of research, and applying following steps I finally get it working:

1) Repair Android SDK - go to Programs and Features > Microsoft Visual
Studio Emulator for Android > Change and hit "Repair"

2) Remove All Hyper-V virtual switches - go to Hyper-V > Virtual
switch manager > Remove all virtual switches

3) Run XdeCleanup.exe - In my case: "C:\Program Files (x86)\Microsoft
XDE\10.0.10240.0"

4) In my case I had configured Internet connection sharing on Ethernet adapter before so I
had to disable it

Visual studio (2015) emulator for android not working - XDE.exe - Exit Code 10

Are you running the emulator in a physical machines? I have similar issues but in nested vms.

Did you check if the hyper-v manager is running properly? Try to open it and start the vms manually and check what is the outcome.

Also, it is really important that you can see the properties in the virtual switch. Most of the problems with hyper-v are due to bad configuration in the virtual switch.

Did you check this answer?

Visual studio (2015) emulator for android not working - XDE.exe - Exit Code 3

Try to do this

1) Repair Android SDK - go to Programs and Features > Microsoft Visual Studio Emulator for Android > Change and hit "Repair"

2) Remove All Hyper-V virtual switches - go to Hyper-V > Virtual switch manager > Remove all virtual switches

3) Run XdeCleanup.exe - In my case: "C:\Program Files (x86)\Microsoft XDE\10.0.10240.0"

4) In my case I had configured Internet connection sharing on Ethernet adapter before so I had to disable it

Check all those things and post more information, I need more details to give you a more complete answer.

Visual Studio Android Emulator Not installing profiles

I have verified: 1) that my Hypervisor is running. (Image install Log is disputing this) 2) my Cpu Supports Virtualization 3) My bios Settings have Virtualization Enabled.

The error logs tells us that your Hyper-V is not enabled, your screenshot for Hyper-V Manager can't tell us that your Hyper-V is enabled.

Please open your CMD as Administrator and input the following command:

bcdedit /set hypervisorlaunchtype auto

And then Restart Your PC.

For more information about configure emulator for VS, please refer to Visual Studio Android Emulator.

If you're already on a virtual machine, it is not possible to start another emulator on this virtual machine.

Visual studio Emulator for Android not working

I believe that you have probably 4 GBs of RAM (also happened to me) so you will not be able to run the emulator. Solution would be buying more RAM :)

Minimum requirements for Visual Studio Android Emulator are following:

System requirements

  • Hyper-V support (see Hyper-V requirements below)
  • 6 GB or more of RAM.
  • 64-bit version of the Pro edition of Windows 8, Windows 8.1, Windows10 or higher
  • A processor that supports SSSE3 or later.

Network requirements

  • DHCP
  • Automatically configured DNS and gateway settings

Hyper-V requirements:

  • In the BIOS, the following features must be supported:

  • Hardware-assisted virtualization

  • Second Level Address Translation (SLAT)
  • Hardware-based Data Execution Prevention (DEP)
  • In Windows, Hyper-V must be enabled and running.
  • You have to be a member of the local Hyper-V Administrators group.

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



Related Topics



Leave a reply



Submit