GenyMotion Unable to start the Genymotion virtual device

前端 未结 20 1836
南旧
南旧 2020-11-29 17:40

When I run Genymotion, I get the following error:

Unable to start the Genymotion virtual device.

Unable to configure the network adapter for the v

相关标签:
20条回答
  • 2020-11-29 18:02

    I had a same kind of issue starting Genymotion on Ubuntu 16.04 and solved it in this way https://medium.com/@avanvitharana/genymotion-on-ubuntu-16-04-cb8ef8fc70e9#.6y0bgmmjb

    0 讨论(0)
  • 2020-11-29 18:05

    I had the same problem and tired all the above solutions and did not work for me! the problem was because multiple networks make conflict between VMware and VirtualBox, and other VPN connections. The solution i followed is:

    • solution 1 :

    uninstall virtualbox and reinstall the last update of it

    • solution 2 :

    If solution 1 not working, try this uninstalling all VPN programs, VirtualBox, Genymotion and reinstalled VirtualBox and Genymotion again. both solutions worked with me

    0 讨论(0)
  • 2020-11-29 18:06

    it worked for me when I start Gennymotion in Admin mode

    0 讨论(0)
  • 2020-11-29 18:09

    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:

    • IPv4 address/netmask: 192.168.56.1/255.255.255.0 (on Adapter tab)
    • DHCP server enabled checked (on DHCP server tab)
    • Server address/netmask: 192.168.56.100/255.255.255.0
    • Server lower/upper address: 192.168.56.100/192.168.56.254

    Still in VirtualBox, select the Android VM you have, click Settings button, select Network section. In the Adapter 1 tab, you should have:

    • Enable network adapter checked
    • Attached to: Host-only adapter
    • Name: vboxnet0

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

    0 讨论(0)
  • 2020-11-29 18:09

    Follow following step to work genemotion like charm.

    1. Open Oracle VM virtual Box

    2. File -> Preferences ( ctrl + g ) -> open one dialog box -> select Network -> select Host only network choose you adapter ( there are three button on right side -add -remove -Edit host only nw.,

      If you dont have any adapter then create.

    3. After selecting your adapater choose Edit Edit host only network(space)

    4. Open one dialog box then choose DHCP server choose Enable Server and fill all ip addresses.

      like

      IPv4 address/netmask: 192.168.56.1/255.255.255.0 (on Adapter tab)

      DHCP server enabled checked (on DHCP server tab)

      Server address/netmask: 192.168.56.100/255.255.255.0

      Server lower/upper address: 192.168.56.100/192.168.56.254

    5. Give ok.

    6. In starting of the oracle virtual machine there are different tab like General ,system , Display ,storage,Network etc.. Click on Network

    7. Open one dialog box, select Enable Network adapter attached to ->host only network and main thing is that in Name tab, choose adapter that you are choosing in preference both adapter much be match example you choose virtualbox...2 then here also choose that one.

    8. Ok.

    9. Now play your genemotion. if again error come then again restart to play you succedd.

    10. :)

    See full video here to see above all step and work well with genemotion.

    https://www.youtube.com/watch?v=YuJ6ZfudFp8

    0 讨论(0)
  • 2020-11-29 18:10

    I know this post is old, but in case someone is searching google i think i should mention what fixed my problem. After the 3 steps from above the error message was gone but the screen still stayed black and opening an .apk got stuck on file transfer. It had something to do with a VPN application (in my case Hamachi). I just closed it and then the emulator ran fine. This post prompted me to do so: https://groups.google.com/forum/#!searchin/genymotion-users/network/genymotion-users/QAX_UrAzEn0/o947IXpsDuIJ

    0 讨论(0)
提交回复
热议问题