How to fix Xamarin Android Player in Windows 10

If you have recently updated your PC to Windows 10 you might have noticed that our beloved Xamarin Android Player does not work anymore. Whenever we try to start it, the error message “Could not configure host-only network. Please reboot the computer and try again.” appears. This problem is caused by compatibility problems that VirtualBox 4 seems to have with Microsofts latest operation system. To fix this, we need to reinstall the Xamarin Android Player and configure the Virtual Box properly.

Step 1
Uninstall the Xamarin Android Player and VirtualBox completely. Make sure that there is no XamarinAndPlayer directory under C:\Users\{YOUR_USERNAME}\AppData\Roaming left. If there is one, delete it.

Step 2
Download the Xamarin Android Player and install it. But do not start it yet! We need to do some other work first!

Step 3
Download and install the latest version of VisualBox. It should be version 5 at least. This will update and clean the version that comes with Android Player at the moment to a version that is more compatible with Windows 10.

Step 4
Now we need to configure the fresh installation of VirtualBox. For this, start it and go to the File/Preferences/Networking page and select the Virtual Host Only tab. Klick on the edit icon for the one existing network adapter and make sure the it is set in the following way:

Save your changes and close VirtualBox. Now we can launch the Xamarin Android Player and start installing the virtual machines available for download. It will find the correctly configured host only network adapter now.

I really hope that helps everybody who is frustrated after updating his system to Windows 10. Huge thanks to Danny Pronk from the Xamarin Forums who found that solution.

10 Comments on “How to fix Xamarin Android Player in Windows 10

  1. Your article in combination with steps below worked for me:
    1. Under network connections on pc locate the adapter and enable “VirtualBox NDIS6 Bridged NetworkingDriver” in “VirtualBox Host-Only Ethernet Adapter” ‘s properties(https://forums.virtualbox.org/viewtopic.php?f=6&t=74691)
    2. In virtual box select the device–>settings–>network–>Adapter 1 and set the ff: ‘Attached to: Host-only Adapter’ and ‘Name: VirtualBox Host-Only Ethernet Adapter #(number of the configured adapter according to the above article) and OK.
    3. Now try and start the device from xamarin.
    Thanks!

  2. I am running Windows 10 Professional and did a clean installation. Had the same problem. I opened the environment variables and the “VBOX_MSI_INSTALL_PATH” was set to:

    C:\Program Files\Oracle\VirtualBox\

    I changed it to

    C:\Program Files\Oracle\VirtualBox

    and it worked for me.. (notice the last backslash)

    Simply Thank me back on facebook Ragnar Kofi Billy Force ..

    • Wow ! good catch ! How did you figure out there was a typo there ???

  3. Robin-Manuel you helped me so much. Thank you and congratulations, your post was clear like water.

  4. Pingback: Xamarin – Por onde começar – Instalação | Sandro Oliveira Sharepoint Blog

Leave a Reply

Your email address will not be published. Required fields are marked *