I download GenyMotion Android Emulator with Virtual VM pack. Everything worked out well till the Virtual device download process. The virtual device was downloaded successfully but when I try to run the virtual device by hitting the play button, a small window pops-up that says Initializing virtual device and then Starting Virtual device. After a few seconds, it opens up the Virtual Device window but it disappears immediately. I've been trying to get GenyMotion running on my Windows XP PC for the last 3 days. I'm urging to get my hands on GenyMotion Android Emulator. Could anyone please help me?
PS: I've already scanned my PC with Anti-MalwareBytes and Avira Antivirus but the problem still persists.
I had the same problem (or at least the same symptoms). Try to start the VM directly from the Oracle VM Virtualbox (not via the Genymotion GUI). You should find the Virtualbox somewhere like "C:\Program Files\Oracle\VirtualBox\VirtualBox.exe"
When you start the virtual device that way, you get at least a more or less meaningful error message that you can google for solutions. In my case, I had to enable Virtualization in my BIOS and update VirtualBox to the latest version twice. After the first try there was something wrong with the kernel drivers. So I restarted the setup and clicked "Repair" to re-install the VM drivers.
Also don't save the machine state when you close the VM. It's safer to always do a cold boot. As soon as you can start the VM from the Oracle GUI, you should be able to so with Genymotion. Only by starting the VM with Genymotion the virtual device gets connected to ADB and therefore can be used with your IDE.
Related
I installed genymotion android emulator on linux Ubuntu 16.04 and download some virtual devices for it. After I start a virtual device, it disappears after 5-10 seconds. I tried some other api's and virtual machines and it's the same.
When I run the virtual device from VirtualBox, it gives me an error just like this picture:
I have the exact same configuration with Genymotion on a newly installed Unbuntu 16.04 box. I came across the this in Genymotion's FAQ section. It appears that this can be caused by incompatible video drivers. I'm running an Nvidia GeForce 210. The stock Unbuntu install selected an X.Org open source video driver. By going to Additional Drivers and selecting the proprietary, tested driver from Nvidia, I was able to correct this problem. I did have to reboot after the changing the driver as well.
I've installed the RTM build of VS2015 with the Android Tools. I can launch the emulator manager and see the list of installed images. When I click the green triangle to start an image, it shows a progress bar and the text "Launching emulator..." and XDE opens up with the message "OS is starting"
After a while, XDE shows an error message:
[Window Title]
Visual Studio Emulator for Android
[Content]
The emulator is unable to connect to the device operating system:
Couldn't set up the UDP port.
Some functionality might be disabled.
[Close]
Strangely, when I look in Hyper-V Manager, the image seems to be running perfectly.
I have already removed the GuestDisplayNameProvider line from xdesku.xml, which was previously resulting in the error: "Failed to read from dev/hw_random: No such device" on startup.
So I finally fixed this issue, it's because I had broken virtual ethernet adapters. Here's what I did to fix it.
Remove Hyper-V through by turning off the windows feature.
Reboot
Open device manager and go to network adapters.
Remove all of the Hyper-V Virtual Ethernet Adapters
Enable Hyper-V through by turning the windows feature back on.
Reboot
Try to run your emulator, you should notice that the Virtual Ethernet Adapters are recreated and working.
This occurred after disabling then re-enabling Hyper-V. To fix the problem:
Delete all virtual switches in Hyper-V Manager, delete all virtual machines in Hyper-V Manager, uninstall all profiles in Visual Studio Emulator for Android. Then reboot the machine (just to be sure). Then, open Visual Studio Emulator for Android, download the profile you want, and then click "play". The relevant switches, VMs, etc will all get created fresh now.
Go to "C:\Program Files (x86)\Microsoft XDE\10.0.10586.0\SKUs\Android\" and open xdesku.xml with notepad and remove the following line: GuestDisplayProvider="VsEmulator.OpenGLGuestDisplay.
If your emulator freezes on "OS is starting" but Hyper-V shows "OS" , follow the following link:
https://stackoverflow.com/a/32006888/948236
It works for me.
Add new virtual switch helped me a lot.
Unable to start the virtul device
To start virtual devices, make sure that your video card supports OpenGL2.0 and update the drivers.
Details: failed to create framebuffer image (error: 15)
If possible, update your video card drivers
do you attemp to run genymotion via rdp on windows virtual machine? 3d Acceleration on Windows work only when you use physical console, sorry for my english.
This is what I did to figure the problem out.
delete Genymotion / VM Virtual Device / Graphic driver(mine is intel) and reboot
install newest version of graphic driver
install genymotion(without VM virtual device)
download and install the newest version of VM virtual device
manually start the device on VM virtual device
start the device on genymotion
Wish this work to y'all as well
One day I tried to launch a Genymotion virtual device and got:
Everything used to work fine. I haven't done any update. I use Genymotion 2.3.1 and Oracle VirtualBox 4.3.12 on Windows 7 SP1 x64 Ultimate. What could have caused the issue to arise, and how to fix it?
My configuration:
When I tried to launch the VM from VirtualBox, I get:
Failed to open a session for the virtual machine Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920.
The VM session was closed before any attempt to power it on.
Result Code: E_FAIL (0x80004005)
Component: SessionMachine
Interface: ISession {12f4dcdb-12b2-4ec1-b7cd-ddd9f6c5bf4d}
#Frank,
Your VM is in a saved stated. You will need to turn it to a powered off state or discard the saved state via the Virtual Box App.
For more info, refer to this geny motion does not start
I'm trying to use Genymotion Android as my android emulator in conjunction with Oracle's VirtualBox Software on my mac. I created a Nexus 5 4.4.2 virtual device that worked a few days ago, but now every time I run Genymotion, I get the following:
Unable to connect to your virtual device! Genymotion will now stop. Check your VirtualBox network configuration.
For more information refer to: https://cloud.genymotion.com/page/faq/#collapse-nostart
I haven't changed anything in VirtualBox over the last few days, and in fact when I open VirtualBox, it shows the virtual device being run in it's preview frame, but I can't get it to run in Genymotion. Any thoughts??
I faced this problem in Ubuntu , it was solved by re installing Virtual Box DKMS kernel module, a similar solution must exist in Mac also.