Genymotion is giving me this error after the Windows 10 upgrade:
Unable to load virtual box engine
How to fix this?
I solved this issue. It's working fine now.
I'm using:
+ Window 10
+ VirtualBox-5.0.2-102096-Win
+ Genymotion-2.5.3
Step 1: We should set Run as this program as an administrator & Compatibility mode Window 7 for those file.
C:\Program Files\Oracle\VirtualBox
+ VBoxHeadless.exe
+ VBoxManage.exe
+ VirtualBox.exe
C:\Program Files\Genymobile\Genymotion
+ genymotion.exe
Step 2: My Computer -> Manage-> Device Manager-> Network adapters
Remove all items with name: VirtualBox Host-Only Ethenet Adapter #...
Step 3: Open Virtual Box and go to File -> Preferences -> Network -> Host Only Networks
Remove all and create new host with information:
Adapter Tab:
IPv4 Address: 192.168.1.201
IPv4 Network Mask: 255.255.255.0
DHCP Server Tab:
Server Address: 192.168.1.100
Server Mask: 255.255.255.0
Lower Address Bound: 192.168.1.101
Upper Address Bound: 192.168.1.199
Step 4: Run Genymotion again. It's will work.
=====> You can see here
I used to have the same issue. I've download VirtualBox 5 an reinstall it (or repair) over the old install. Reboot and that's it.
Worked for me:
-Changed Network on VB to HOST ONLY
-Changed on Win 10 network configuration to obtain dynamic IP
1.Remember machine images' paths/locations in VirtualBox. Bakup them.
2.Go to
[enter link description here][1]http://www.tenforums.com/tutorials/2087-hyper-v-virtualization-setup-use-windows-10-a.html
Only part two.Follow those instructions.
3.remove machines from VirtualBox(but dont check 'delete files'). Remove adapters from 'network adapters' in device manager. Thier name starts with 'Virtual...'.
Close VirtualBox.
start genymotion.
Will work.
After Windows Anniversary update Genymotion stopped working,
It always raised an error dialog saying (not exact but something like this) "Failed to start the virtual machine, Please start Virtual box to see the error details".
I had tried many solutions some of them were saying open Virtual box and make some changes to it, but my issue was Virtual box itself was not starting up explicitly,
I had observed that process starts up and gets killed after few seconds, Then I realized, the problem is actual with a virtual machine.
And when I was looking for it I came across this thread which says there is Bug in the virtual box, just download and install the latest setup file for a Virtual box. Thereafter at least you will be able to start the virtual machine,
After this, if you face some issue you can follow aLoi Ho answer above
Related
when I tried to open genymotion in android studio ,
Unable to start the virtual device.
VirtualBox cannot start the virtual device. To find out the cause of the problem, start the virtual device from VirtualBox.
more information, check the log files.
Please refer to: www.genymotion.com/faq/logs
or that said :
According to your error log,
:Failed to open/create the internal network
'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2'
(VERR_SUPDRV_COMPONENT_NOT_FOUND). Failed to attach the network LUN
(VERR_SUPDRV_COMPONENT_NOT_FOUND). Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap Interface: IConsole
{872da645-4a9b-1727-bee2-5585105b9eed}
Open "Network Connections" from control panel, select the "VirtualBox Host-Only Network" right click and check if "VirtualBox NDIS6 Bridged Networking Driver" is enabled from properties.
If the settings looks alright but the device doesn't starts, Uninstall both of the VirtualBox and Genymotion, reinstall a new package that contains both of the VirtualBox & Genymotion together in a single package. See here,
PS: Try restarting your PC making installing/uninstalling the VirtualBox.
My OS is Windows 7 Pro, and I installed Android Studio 2.1, which is the latest version at the moment, and I followed the instruction from this video tutoril to install and setup Genymotion, I did each step exactly as the video shows, but in the end I cannot run my app on the virtual device created in Genymotion(but in the video, it works fine), what I got is:
As shown in the screenshot, the emulator on the left is started from the Geny plugin in AS, and the right dialog is what I got after I click Run button, it seems that the virtual device is not recognized by AS.
The Event Log is:
11:18:01 PM error: could not install smartsocket listener: cannot
bind to 127.0.0.1:5037: Only one usage of each socket address
(protocol/network address/port) is normally permitted. (10048)
11:18:02 PM could not read ok from ADB Server 11:18:02 PM * failed to
start daemon * 11:18:02 PM error: cannot connect to daemon 11:18:02 PM
'C:\Users\Vincent\AppData\Local\Android\Sdk\platform-tools\adb.exe,start-server'
failed -- run manually if necessary
What I have tried so far:
Firstly, I found this post: Android Studio Unable to Find Genymotion Device, which gives a link of a discussion in google forum: https://groups.google.com/forum/#!topic/genymotion-users/ov5ANqGf3DI.
From the discussion, one named Jordan said that two things need to be done: "bridged adapter" and "port forwarding". But in the setting panel of VirtualBox on my PC, what I found is:
If I set Adapter2 as bridged adapter, the 'Port Forwarding' button will be disabled. So I cannot do both things at the same time. I tried bridged adapter first, it didn't work, and then I set it back to NAT as default, added the port forwarding rule, ran the adb command as explained in that post.
BTW, the approach they told to find the ip address didnt work for me, I could not install play store into that virtual device, so I figured out the virtual device's ip address from VirtualBox.
Anyway, neither of them works so far.
Secondly, I tried the approach in this blog: http://scrumsofanarchy.com/adb-over-wi-fi-with-genymotion-android-emulator/, and ended up with nothing, coz basically I cannot install any app into the virtual device.
Thirdly, I tried the approach in this post as well: android studio - emulator doesn't work and genymotion doesn't get recognized. My Genymotion is using the SDK installed by AS now, but that doesnt fix the issue.
I am running out of options now, any help is appreciated, thanks!
Just install GPU Debugging Tools 3.1 in Android SDK Mangaer ;-)
I have installed Genymotion v2.4.0 on my windows 7 OS. These installer is packaged with virtual box. After Installation, when I try to launch Geny motion, It says loading plugins and a pop up comes for virtual box . On OK, I get this error Virtualization engine not found. Loading Plugins aborted. I have enabled Virtualization features in my BIOS settings. I am able to run default Android Emulator on my box. The Virtual Box version with Geny motion is 4.3.12. I have tried uninstall and install but the problem persists.
Please let me know if anyone has faced similar problem.
Thanks in advance.
I solved this issue. It's working fine now.
I'm using:
+ Window 10
+ VirtualBox-5.0.2-102096-Win
+ Genymotion-2.5.3
Step 1: We should set Run as this program as an administrator & Compatibility mode Windows 8 for those file.
C:\Program Files\Oracle\VirtualBox
+ VBoxHeadless.exe
+ VBoxManage.exe
+ VirtualBox.exe
C:\Program Files\Genymobile\Genymotion
+ genymotion.exe
Step 2: My Computer -> Manage-> Device Manager-> Network adapters
Remove all items with name: VirtualBox Host-Only Ethenet Adapter #...
Step 3: Open Virtual Box and go to File -> Preferences -> Network -> Host Only Networks
Remove all and create new host with information:
Adapter Tab:
IPv4 Address: 192.168.1.201
IPv4 Network Mask: 255.255.255.0
DHCP Server Tab:
Server Address: 192.168.1.100
Server Mask: 255.255.255.0
Lower Address Bound: 192.168.1.101
Upper Address Bound: 192.168.1.199
Step 4: Run Genymotion again. It's will work.
> Screenshots
just uninstall genymotion 2.4.0 and install version 2.0.3. it works fine with windows 10
Try to delete Genymotion-log.zip in C:\Users\%YOUR USER%
This worked for me using GenyMotion 2.0.3 and VirtualBox 4.3.6. My problem was I have an existing host-only adaptor that is used by Vagrant. I can't simply delete it, it will trash my Vagrant VM.
Create a new host-only adaptor in the Virtual Box global settings. Give it a separate address space from any existing host-only adaptors. For example, I set mine up as follows, where I also have a vboxnet0 (used by Vagrant) that uses 192.168.56.x
name: vboxnet1 IPV4 address: 192.168.57.1 mask: 255.255.255.0
DHCP: address 192.168.57.100 mask: 255.255.255.0 low bounds: 192.168.57.101 high bound: 192.168.57.254
Then, edit your existing GenyMotion VM to use this host-only adaptor, and restart it from GenyMotion.
Note:- first you have to start virtual box then the genymotion.
Good luck!
I'm using Genymotion v13.0 on Windows 8 Pro to create Virtual Device successfully, but when I try to run it I get this error: Unable to start Genymotion Virtual Device.
Screenshot:
Trying to run it via Virtualbox, I got this error message:
Virtualbox Host Only Ethernet Adapter Failed to start
Screenshot:
Virtual Device previously could run well until I got this issue.
Can someone please tell me how to Fix it?
This worked for me using GenyMotion 2.0.3 and VirtualBox 4.3.6. My problem was I have an existing host-only adaptor that is used by Vagrant. I can't simply delete it, it will trash my Vagrant VM.
Create a new host-only adaptor in the Virtual Box global settings.
Give it a separate address space from any existing host-only adaptors. For example, I set mine up as follows, where I also have a vboxnet0 (used by Vagrant) that uses 192.168.56.x
name: vboxnet1
IPV4 address: 192.168.57.1
mask: 255.255.255.0
DHCP:
address 192.168.57.100
mask: 255.255.255.0
low bounds: 192.168.57.101
high bound: 192.168.57.254
Then, edit your existing GenyMotion VM to use this host-only adaptor, and restart it from GenyMotion.
Good luck!
I have a same problem and I solve it with this :
Open Windows Network Connections
Right click on VirtualBox Host only adapter that created
Choose properties
Check "VirtualBox NDIS6 Bridged Networking driver"
disable and Enable the adapter
I had the same issue and this fixed it:
Go to Network and Sharing Center > Change adapter settings and enable these:
Local Area Connection (if it's disabled)
VirtualBox Host-Only Network
I think that enabling the second will do the job, but I did the first anyways.
Hope it helps.
It may be because of you assigned more than 50 % RAM memory to your emulator.
Open Oracle VM --> Settings --> General And then Decrease memory assigned to the device.
And in Newer Versions,
Open Oracle VM --> Settings --> System --> MotherBoard Tab And then Decrease memory assigned to the device
In Win10 it might be helpful to download VirtualBox latest version.
It was the only thing that solved it for me. Hope it will save someone some time and trouble.
The following resolved the problem for me:
Go to Control Panel -> Network and Internet -> change adapter settings
Right click on VirtualBox Host-Only Network and select properties
The following options must be ticked
client for microsoft networks
virtualBox bridged network driver
qos pocket scheduler
file and printer sharing for microsoft network
If see another program select and uninstall it.
In VirtualBox go to File -> Preferences -> Network
Double click on VirtualBox Host-Only ethernet adapter
Edit like this:
IPV4 address: 192.168.56.1 mask: 255.255.255.0
DHCP: address 192.168.56.100 mask: 255.255.255.0
low bounds: 192.168.56.101 high bound: 192.168.56.254
Restart or log off your windows and start genymotion
If that didn't solve your problem in VirtualBox go to File -> Preferences -> Network and delete Host-Only ethernet adapter.
Select yourVM -> Settings -> Network -> Disable the Network Adapter (It will be re-configured by Genymotion)
Start the Android Image again in Genymotion UI (not in Virtualbox), It should work now!
Open Virtual Box. Select your virtual Android Device and click on Settings.
Select Network.
Make sure "Enable Network Adapter" box is checked. Also Make sure "Attached to:" has "Host-only Adapter selected". Note the name of the adapter.
Open Settings and click on "Network & Internet"
In the window that opens click on "Change Adapter Options"
In the window that opens you can find many Network names listed. Find the network name that matches with the network name that you noted earlier in the Virtual Box.
Note if that network is Enabled or Disabled.
If the network is Disabled, right click and click Enable.
If the network is Enabled, right click, click Disable and then again click Enable.
Close the window, open Genymotion and start your Virtual Device. The device should now boot without any error.
I had the same problem in Mac OS, it was a bug in VirtualBox V5.0.2 and fixed in V5.0.3, I installed V5.0.3 and no more problem
It seems your VirtualBox installation doesn't work correctly. You should try to reinstall/upgrade VirtualBox so that during the installation process it fixes this "Interface not found" issue.
I had the same issue and figured it out today. I had to release the existing virtual drives before Genymotion would allow me to create a NEW virtual drive. Once you click create new drive, it prompts you to login to your Genymotion cloud account. Now I am actually able to run it. Hope this helps.
Edit* Also tried reinstalling AND repairing Virtualbox multiple times and still got same error. Only until I released the existing virtual drives did it start working.
As it mentioned above assigning more than 50 % RAM memory to your emmulator.
For me fixed this way too.
My machine have 8GB and I assigned 4GB for per device. Resetting it solve my problem.
Try this one. it works for me. :)
I also disabled Hyper-V to makes mine work.
Genymotion FAQ
To date, VirtualBox is not yet fully compatible with Windows 10. As Genymotion relies on the use of VirtualBox in the background, some problems may arise. If you have any troubles running Genymotion on Windows 10, we first recommend that you put VirtualBox in a clean state. To do so:
Uninstall VirtualBox.Reboot your computer if prompted by the installer.
Install the version of VirtualBox recommended for Windows 10
Reboot your computer if prompted by the installer.
Open VirtualBox and go to File > Preferences > Network.
Remove all existing host-only networks by clicking Description 1.
Start Genymotion a first time.
In the event of a failure, start Genymotion a second time.
If Genymotion still doesn’t run, you can manually configure a host-only network:
Open VirtualBox and go to File > Preferences > Network.
Add a new host-only network by clicking Description 1.
Edit its configuration by clicking Description 1.
In the Adapter tab, set the following values:
IPv4 Address: 192.168.56.1
IPv4 Network Mask: 255.255.255.0
In the DHCP Server tab, set the following values:
Check Enable Server.
Server Address: 192.168.56.100
Server Mask: 255.255.255.0
Lower Address Bound: 192.168.56.101
Upper Address Bound: 192.168.56.254
in my case there was 2 reasons (checked) that my genymotion device couldn't run on windows 10/64bit
1. VPN was running and connected
2. amount of "base memory" :
run virtual box > choose your device in the list > Settings > System (left list) > set your base memory on 1024
In Mac, Open Oracle Virtual Box and Goto VirtualBox -> Preferences -> Network. Select the tab'Host Only Networks' & delete vboxnet0. It will be recreated next time you launch genymotion emulator.
I did the following to resolve mine:
Open VirtualBox and check the new machine that is created for you by GenyMotion
Right Click on it and choose Settings then go to the Network section/tab
In Adapter 1 tab, It should be attached to Host-Only Adapter. Check what is the name of the used adapter Name then close it.
Open File|Preferences in Virtualbox, then go to Network section/tab
Under Host-only Networks tab, find the same name you have already gotten in step 3.
Double click on that name and apple the following configuration
Adapter Tab:
IPv4 Adapter: 192.168.65.1
IPV4 Network Mask: 255.255.255.0
DHCP Server:
Check "Enable Server"
Server Address: 192.168.65.100
Server Mask: 255.255.255.0
Lower Address Bound: 192.168.65.101
Higher Address Bound: 192.168.65.255
I recently had this problem, and setting up the virtual network configurations did not work. I found this then:
https://forums.virtualbox.org/viewtopic.php?f=6&t=70199
Virtualbox seems to vhave a bug in recent releases.
Reinstall it using cmd prompt, and use this as arguments for the executable : -msiparams NETWORKTYPE=NDIS5
This did the trick to me. I'm on windows 10, using the VirtualBox-5.0.10-104061-Win version.
Note that, this seems not to be a problem with genymotion only.
Hope I spare you some time. I sure spent more than I thought it would take me.
You can check the version of your genymotion and virtualbox. The genymotion 2.5.3 would work better with virtualbox 4.3.30.
1.Run VirtualBox as administrator
2.Go to File -> Preferences -> Network -> Host Only Networks
3.Add a new one or just edit and delete all existed
Adapter Tab:
IPv4 Address: 192.168.0.201
IPv4 Network Mask: 255.255.255.0
DHCP Server Tab:
Server Address: 192.168.0.100
Server Mask: 255.255.255.0
Lower Address Bound: 192.168.0.101
Upper Address Bound: 192.168.0.199
At fast open VirtualBox and then open Genymotion. It then not work just change the Address and try again and restart your PC.
There is a known issue with the new NDIS6 driver, you can install it to use the old NDIS5 driver
Steps I followed:
1.Uninstall Virtualbox and try reinstalling it using command prompt.
2. Run command Prompt in administrative mode;
3.Check your Network Drivers if you are using NDIS6 or 6.+ ;
Write >VirtualBox-5.0.11-104101-Win.exe -msiparams NETWORKTYPE=NDIS5;
4.Now Follow the install steps and finish installation steps.
5. Now try starting device with VirtualBox.
This worked for me.
Just download and install the latest version of Virtual box, run it then run the emulator and viola, it will be up and running. This one worked for me.
Just download latest Virtualbox version. Is works for me.
after 2 days searching in web, i found it's related to issue with the new NDIS6 driver, so you can install it to use the old NDIS5 driver
Try installing Old Version of Virtual Box (run as administrator)
VirtualBox-5.x.x
VirtualBox 5.2.6 worked for me
Windows 10 , Genymotion 3.0.3
Genymotion problem solved
I have tried all the solutions to solve the Genymotion issue in which it says failed to create a virtual host network i worked on it like for 2 days but then I tried to reset my networks and it works And now Genymotion is working correctly.
Steps of this solution are:-
First go on settings.
Then click on Network and internet.
This interface will appear and after that click on Network reset your problem will solved after the Machine restarts
I am trying to debug the android source using Eclipse by following the instructions found at:
http://source.android.com/using-eclipse
I have downloaded the source, and gotten it to build. I follow the directions in the link above and everything is fine until I run the ddms command. At this point, if Eclipse is running I get the error 'Could not open Selected VM debug port (8700)'. If I close Eclipse, then ddms runs with no problem, and I can the the processes on the emulator. However, if I now open Eclipse, I get the same error.
In any case, no matter what I do, if I attempt to remote debug, it always fails with 'Failed to connect to remote VM'.
Any ideas?
Thanks
It looks like you have two problems:
You are trying to run DDMS twice. You do not need to run the free standing version of DDMS since there is version of it integrated in Eclipse as part of the Android plug-in. If you change to the DDMS perspective in Eclipse, I'm sure you will find that all the same features are available.
You have not told DDMS which VM you want to debug at localhost:8700. Before you attempt to establish your remote debug connection, you must go to the DDMS perspective and click on the system_process (or whatever process you want to debug).
The Windows Host file that is messed up is at C:\WINDOWS\system32\drivers\etc, and it should contain this line:
127.0.0.1 localhost
If that doesn't work, then try making the following changes in Eclipse.
Under Window -> Preferences -> Android -> DDMS:
Set Base local debugger port to "8601"
Check the box that says "Use ADBHOST" and the value should be 127.0.0.1
I solved it by ending the process "adb.exe" through Task Manager and then reloading the SDK through Windows->Preference..I am running Eclipse Indigo on Win 7 64-bit.
I was having that problem too (Windows 7), even though my /Windows/system32/drivers/etc/hosts file already had 127.0.0.1 localhost in it.
I tried changing the ADBHOST info & port in the eclipse Preferences, but that didn't do anything.
netstat -b shows '127.0.0.1' as the source address for adb and the emulator, but always lists my machine host name as the 'foreign address.' On a hunch, I tried debugging with my machine not connected to any network (no WiFi, nothing plugged in)... and it worked! (DDMS was able to connect to the VM on the emulated device and I was able to debug just fine.)
I think that messages sent by DDMS &/or adb are not staying on my local machine (they're getting sent to my local router). (It's just a guess; I don't know how to conclusively test that.) IOW, loopback wasn't working as it should.
Since I already had 127.0.0.1 in my localhosts, I added the local subnet address of my machine into my hosts file, guessing that DDMS/adb might be using that address (vs. 127.0.0.1). That seemed to solve the problem for me.
So now my hosts file has these lines:
127.0.0.1 localhost
::1 localhost
192.168.1.102 localhost
(The local IPv4 address for my machine is 192.168.1.102 . You can check yours with the ipconfig command.)
(I came across some webpages that how to set up a virtual network adapater for Windows that handles loopback, e.g. Setting up a Microsoft Loopback Adapater (from Oracle Distilled), but haven't had time to take that in and see if that's a viable solution to all of this, too.)
I solved it by opening the windows Task manager and closing the process "adb.exe". Then close eclipse and reopen it. It will start properly without any error.
This is for reference. But I guess this might match your case.
Port 8700 is very special port for ddms; there's no way to change the port.
Port 8700 is used for aggregating the packet from every Dalvik VM.
There will be two cases;
case 1) If you set "Base local debugger port"(in Eclipse ddms preference dialog) to 8700, then you'll see error - "Can't bind to local 8700 for debugger", everytime ddms initiated. But no problem, because if ddms couldn't bind 8700 to the first VM, then will be connected to 8701, and then 8702 and so on.
case 2) Even if you set "Base local debugger port"(in Eclipse ddms preference dialog) to 8600, you may see error - "Can't bind to local 8700 for debugger", in some cases. Because, if your device have more than or equal to 100 dalvik VMs, port assigning to each VM starting from port 8600 may reach to 8700 port. But, no problem occurs same as in case 1).
So, if you really don't want to see the error, you have to set the "Base local debugger port"in Eclipse ddms preference dialog to 8701 or above.
Stand-alone ddms or android monitor uses different setting file from Eclipse, so it may not make this kind of problems.
~
Had the same problem, different port numbers in the console output (where I launch ddms) caught my attention
Then from the documentation, I learned that 8600 is the default base port number. Every new process uses the next available port (8601,8602,...). In addition, 8700 is the default active port number (indicating the currently selected process in the dbms)
Here are the steps to debugging Android source+applications
Run emulator
Run ddms
Open Eclipse (It may complain about being unable to connect to 8600. This is because, when Eclipse starts up and if you have Android plugin, it boots up ddms. Since we already have a ddms connected to the device, trying to connect for a second time won't work)
In the ddms, pick a thread you want to debug (when you highlight it, it will show you the ports that it is using as well as 8700 (e.g. "8649 / 8700"). This means you can use both ports to connect to this process
From eclipse, using the remote debugging configuration, connect to any process you wish (easiest is to highlight the process from within ddms and then connect to 8700)
This type problem occurs when you are using another VM with the same port number. As an example you are using Android SDk full bundle which you have downloaded from the android developer website. Now you want to use Eclipse and plugged in ADT, SDK. There is a high probability to happen this type of error. It happened to me. To overcome this difficulties you can do :
Window-Preferences-Android- Choose DDMS- Change base local debugger port(use 8601 instead of 8600).
It can work. Thanks
I done it by restarting my computer
Just for completeness: (on win 7/Vista) not only you have to make sure line
127.0.0.1 localhost
is present in
C:\WINDOWS\system32\drivers\etc
you also need to comment out all your other local virtual hosts resolving from 127.0.0.1. This is most probably the case if you're developing web stuff on the same machine and set it up earlier for different host names looping back to local.
I solved the problem by ONLY close android studio so the eclipse can get ddms
When I execute monitor in $ANDROID_HOME/tools/monitor on Ubuntu 16.04, it shows
Could not open Selected VM debug port (8700). Make sure you do not
have another instance of DDMS or of the eclipse plugin running. If
it's being used by something else, choose a new port number in the
preferences.
I tried to do the following:
Under Window -> Preferences -> Android -> DDMS:
Set Base local debugger port to "8601" Check the box that says "Use
ADBHOST" and the value should be 127.0.0.1
But it still pops up the dialog.
Then I did the following:
gongzelong#gongzelong:~$ netstat -apn |grep 8700
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 127.0.0.1:8700 0.0.0.0:* LISTEN 5044/java
gongzelong#gongzelong:~$ kill -9 5044
gongzelong#gongzelong:~$ monitor
By doing this, it solved my problem.
Do not know why, but it works for me.