Visual Studio 2015 Android Emulator not working

Actualización: Primero…leámos esta página: Xamarin Developer

Si tu Visual Studio 2015 Android Emulator no funciona, arranca pero entra en un bucle infinito infernal de «starting SO…» y ahí se queda por los siglos de los siglos…

Si para arreglarlo lo has  desinstalado, lo has vuelto a instalar, has desinstalado Hyper-V, lo has vuelto a instalar;

Si has probado esto: Juanlu, elGuerre Blog

Y 1000 cosas más que no te han solucionado el problema,  aquí te traigo la solución que me ha funcionado a mí.

Fuente: Post StackOverflow

  1. Ideally, uninstall any other Virtualisation software such as VMWare, Virtual Box and VPN clients such as Cisco VPN (if you cannot do that, please be vigilant at step 13)
  2. Reboot
  3. In the «Visual Studio Emulator for Android» dialog, delete all installed device profiles
  4. Remove All Hyper-V virtual switches – go to Hyper-V > Virtual switch manager > Remove all virtual switches
    1. Try this: Remove virtual adapters from Registry: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{xxxxxxxxxxxxxxx}\Connection (yes, you have to search for virtual adapter in each folder)
    2. And: Remove HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vmsmp\parameters\SwitchList folder
  5. Run XdeCleanup.exe (usually in «C:\Program Files (x86)\Microsoft XDE\10.0.10240.0»)
  6. Also remove any extra virtual network adapters left in «Control Panel > Network and Internet > Network Connections» (after following the previous steps, you should normally be left with only physical adapters)
  7. Make sure Network Sharing is disabled on all network adapters (right click, Properties, Sharing, untick «Allow other network users to connect through this computer’s Internet connection»)
  8. If ever you deleted the line GuestDisplayProvider="VsEmulator.OpenGLGuestDisplay" in xdesku.xml (usually in «C:\Program Files (x86)\Microsoft XDE\10.0.10240.0\SKUs\Android»), NOW IS A GOOD TIME TO PUT IN BACK.
  9. Reboot
  10. You may want to try to repair the emulators: go to Programs and Features > Microsoft Visual Studio Emulator for Android > Change and hit «Repair» (although I have to say this always fails for me)
  11. Reboot
  12. Open the Visual Studio Emulator for Android, and install then run one of the profiles (eg: 7» KitKat (4.4) XHDPI Tablet — Similar to Asus Google Nexus 7)
  13. It may already work, but if not you should make sure that your network adapters are setup properly. Stop your emulator, then Go to Control Panel > Network and Internet > Network Connections, and right click the vEthernet adapters, then Properties and make sure you only have the following boxes ticked in the Networking list (as explained in Interference from other virtualization or networking software and drivers: Client for Microsoft Networks, QoS Packet Scheduler, File and Printer Sharing for Microsoft Networks, Microsoft LLDP Protocol Driver, Link-Layer Topology Discovery Mapper I/O Driver, Link-Layer Topology Discovery Responder, Internet Protocol Version 6 (TCP/IPv6), Internet Protocol Version 4 (TCP/IPv4)
  14. Reboot
  15. Try to start the emulator again in «Visual Studio Emulator for Android»
  16. If it still doesn’t work, try to delete and recreate the profiles, and loads of reboots…

Finalmente, si ejecutais y el Emulador no os «conecta» con la aplicación y se para el Debug:

  1. Checked to see .Droid project if it’s debugger is Xamarin.
  2. Set Processor Compatibility by turning on «Migrate to a physical computer with a different processor version»
  3. Shut down VS
  4. Turn off running emulator
  5. Re-run it using VS Emulator Manager
  6. Re-open VS
  7. Start debug with VS

Fuente: StackOverflow

Espero que os sirva y consigais hacerlo funcionar. Si encontráis otras maneras que os hayan funcionado, ¡coméntalo!