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

Leave a Comment