Visual Studio Android Emulator network not working


  • I started using xamarin in visual studio, and I installed visual studio android emulator. Emulator works flawlessly, but network on it doesn't. In settings it says it's connected, but browser can't open websites. I started windows phone emulator, and there network works without problem. When I started android emulator, it added two network adapters. In hyper-v virtual device settings for Android emulator, internal network adapter is set to windows phone adapter, and external is set to Realtek bla bla bla. I tried deleting all virtual switches, deleting emulator and going all over again, and nothing helps. I assume the problem is in android emulator or hyper-v settings, because windows phone emulator works all right (it uses same internal adapter, but has no external in hyper-v settings). Does anyone have idea how to solve this? Thanks in advance!

    Thursday, April 14, 2016 2:44 PM


All replies

  • Hi Exiibeat,

    Could you please tell me what's the version of your Visual Studio?

    First please check the System Requirements for the Visual Studio Emulator for Android and make sure the Hyper-V and NetWork Requirement fit.


    In addition, please follow the document below to troubleshoot your issue step by step:

    Hoep that could be helpful to you.

    Best Regards,

    Lake Xiao

    Friday, April 15, 2016 6:43 AM
  • Hi There,

    I just went through the same problem. First, do you have LAN and WiFi on your computer/laptop? If you do test it out by disabling the LAN in your Network settings or Computer hardware manager and connecting through WiFi. If that works then you have the same problem I had. This is caused because the Hyper-V Network Switch setup for the Android Emulator prefers to use the WiFi Connection of your computer when it sets up the Network Switch.

    Solve this by:

    1. Uninstalling the Android Emulator from Visual Studio.

    2. Go into Hyper-V and delete the "VS Emulator..." VMs and the extra Virtual Network Switches created by the Android Emulator

    3. Disable your WiFi so you are ONLY connected by LAN

    4. Reinstall the Visual Studio Android Emulator 

    5. Run Emulator and agree to let it setup the internet for you.

    6. Test the Emulator is connected to the internet by LAN.

    7. Shutdown the Emulator and re-enable your WiFi.

    8. Run the Emulator again and let it setup the internet for you again.

    You can now re-enable your LAN or use your WiFi.

    Monday, June 13, 2016 2:58 PM