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 ;-)
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
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 have setup virtual box for android emulator. Everything was fine till now, but when I am trying to connect to add to virtual box it is throwing me the message:
unable to connect to 10.0.2.15/24:5555
I have Win 7 machine
Please help me to resolve this.
I am answering the question so that any one can use it if they similar error
Removed the virtual device and installed the again. This time I changed the network adaptor from NAT to Bridge Adapter in settings.
Pressed Alt+F1 and typed netcfg, Noted down the IP and got successfully connected from command prompt using adb connect to IP.