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.


Robin-Manuel Thiel

At daylight, Robin-Manuel talks about new IT trends and development. But at night he turns into a tinker and developer which sometimes leads to insufficient sleep. He loves cool technologies, cross-platform and everything with a power-plug or IP address.

11 Comments

dearmusings · December 15, 2015 at 17:03

Wonderful article. Thank you for sharing Rudd

Eric · December 28, 2015 at 19:34

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!

    Mike Bland · August 8, 2016 at 16:20

    Thanks! This worked very well and I am up and running.

IMIHS · January 15, 2016 at 18:22

This is great thanx a mil. :)

Eiman · March 27, 2016 at 08:46

Thank you very much, you saved me

Ragnar Kofi Billy Force · April 13, 2016 at 05:48

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 ..

    Philippe Libioulle · September 14, 2016 at 21:49

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

Ravikumar · October 27, 2016 at 23:29

i did all changes,but still its not working for me

Leonardo · February 3, 2017 at 11:53

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

anomy · February 4, 2018 at 13:34

Been find the solution for days and this works for me. Thanks a bunch!!
In window 10 Home edition and using VirtualBox 5.1.32

Xamarin – Por onde começar – Instalação | Sandro Oliveira Sharepoint Blog · July 11, 2017 at 13:38

[…] How to fix Xamarin Android Player in Windows 10 […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.