When I run Genymotion, I get the following error:
Unable to start the Genymotion virtual device.
Unable to configure the network adapter for the virtual device.
Please, check the following points:
From VirtualBox, in the main parameters of software, check a network adapter "Host-only" is present. From VirtualBox, in the Genymotion virtual device parameters, check the first network interface has the type "Host-only". If no, then set this parameter manually.
How can I fix that?
if you are connected to an android vm with the genymotion frontend, try to press the power-down button (right low corner) and keep pressing it until the shutdown menu appears.
Think of it as you are running mint in a virtual box container, now to run the gennymotion emulators you need to install the virtual box, but this is very tideous are bad idea, it is recomended that you do a full OS install.
To run the android apps on genymotion or your device from vm, you can follow these instructions: Install genymotion on your local os. Install arm translation app on your genymotion. Reboot genymotion.
Update: Before you read further, I want to notice that I didn't have any problems since I upgraded VirtualBox to 4.3.4.
I use VirtualBox 4.3.2 under Ubuntu 13.10. I had same issue after upgrading from Genymotion 2.0.0 to 2.0.1.
These are the steps I followed to fix this, although I'm not sure which one works for you.
Step 1. Start VirtualBox, go to menu File/Preferences menu, go to Network section, select Host-only Networks tab.
If you don't have any adapter defined, then you can create one (as indicated below) or you can ignore step 1 and Genymotion will create it when you try to start the VM.
If you do have an adapter there (vboxnet0) click the edit button. In the edit window, you must have DHCP server enabled AND the IP address and allocation pool of the server must be inside same network as the IP of the network controller. For example, I use:
Still in VirtualBox, select the Android VM you have, click Settings button, select Network section. In the Adapter 1 tab, you should have:
Normally, if you have all these settings, it should work ok, but it didn't for me. So I moved to step 2.
Step 2. As indicated by Genymotion, start VirtualBox, go to menu File/Preferences menu, go to Network section, select Host-only Networks tab and delete the defined adapters.
Start your VM in Genymotion. Genymotion will recreate the adapter with proper settings (as described in step 1)
Normally, if step 1 didn't work for you, step 2 should work ok, but it didn't for me. So I moved to step 3.
Step 3. Delete and recreate the Android VM in Genymotion (VirtualBox host-only network settings I left as described in step 1).
This solved my issue and Android VM works ok now. Good luck.
Andrei.
Update: A day after posting answer, when I was first starting a VM in genymotion, it gave again same error again and vboxnetdhcp process crashed (and restarted). On second and later start attempts it worked ok. So it might still be some minor issue there with VirtualBox DHCP process.
Update: The issue seems to reside in virtual Box DHCP server which crashes:
/usr/lib/virtualbox/VBoxNetDHCP --network HostInterfaceNetworking-vboxnet0 --trunk-type netflt --trunk-name vboxnet0 --mac-address 08:00:27:72:4C:7B --ip-address 192.168.56.100 --netmask 255.255.255.0 --verbose Floating point exception (core dumped)
Deleting and recreating the VM fixed again the issue. Maybe Genymotion sends some invalid data to VBox DHCP that makes it crash (still a VBox bug though).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With