Genymotion does not start Android virtual device

75,510

Solution 1

The issue is that virtual device is in Saved state. You need to turn it off to state Powered Off.

You need to start VirtualBox.app and power off the device.

In the screenshot below Tablet device would not start Oracle VM VirtualBox with several Android virtual devices

So you need to Start the device which is in Saved state and then power it off (by closing window) like this: <code>Power off</code> Android virtual device in VirtualBox

Solution 2

In Windows, if the device is stuck in "Stopping" mode you can shutdown Virtual Box and kill these two processes in the Task Manager (CTRL + ALT + DEL or CTRL + SHIFT + ESC)

  • VBoxNetDHCP.exe
  • VBoxHeadless.exe

Then launch your virtual device in Genymotion.

Solution 3

You can also in kill the vm process in the OS and shut it off this way.

In windows Ctrl+Shift+Esc choose vm processes and stop the processes restart your gennymotion it should work.

Added by barlop
The following screenshot(while it doesn't involve genymotion), illustrates how, you have the main virtualbox process, and a virtualbox process for each running machine. If you expand task manager and look at the command line column, you see the parameters to virtualbox.exe give details about which machine it is, so you could see which device you were killing if you killed it from there (though I tend to poweroff the virtual machine normally and load a snapshot, I can see how they could potentially be powered off from task manager)

enter image description here

Solution 4

when i was trying to run the virtual device,

i was not in the saved state but in "guru meditation state" or something like that in this saved/discard/start were not accessible. So how did i solve this problem

I started the virtual box app and in that u can get the logs of the device by Right clicking on that device. At the bottom of the log there is the exact reason why it happened.

For me the reason was something related to "low host memory error" using this low host memory incident as a reference which said to kill the processes related to VM and "googlecrashhandler.exe" as it will clear the memory and now ur device will be in paused state.

And the Start/discard/saved will be accessible, Now do as @ViliusK has said in his answer.

Solution 5

If you are using Linux, just goto terminal

sudo su

check processes running Virtual Box with

ps ax

get process id and kill them with priority using kill -9

like

kill -9 3217

and then start virtual box again.

that will help

Share:
75,510
ViliusK
Author by

ViliusK

Android developer, Playgong co-founder. SOreadytohelp

Updated on November 29, 2020

Comments

  • ViliusK
    ViliusK over 3 years

    How to resolve Genymotion/VirtualBox issue, when can't start Android virtual device?

    Bellow message is received:

    Unable to start the Genymotion virtual device.

    The VirtualBox software returned an error: "incompatible state".

    Please, run the VirtualBox software to check for issues. Then, try to run the Genymotion virtual device directly from VirtualBox to have a possible explanation.

    For more information refer to: https://cloud.genymotion.com/page/faq/#vbox

    Unable to start the Genymotion virtual device - "incompatible state"

  • Ben Jakuben
    Ben Jakuben over 10 years
    You can also right-click on the virtual machine on the left in VirtualBox and select "Discard saved state".
  • SkyWalker
    SkyWalker over 10 years
    @Ben Jakuben the option is disabled in device which is in stopping mode.
  • X-HuMan
    X-HuMan almost 10 years
    Helped me as well. Thanks!
  • Red Taz
    Red Taz almost 10 years
    I caused this by trying to run multiple emulators at the same time. All options were greyed out in VirtualBox until I terminated VBoxHeadless.exe, this forces the VM into an aborted state and I was then able to interact with it in the VirtualBox Manager.
  • barlop
    barlop over 9 years
    named what? i.e. what are the names for example of individual vm processes?
  • sivi
    sivi over 9 years
    VBox ... .exe VBox ... .exe VBox ... .exe also see this link for more info: stackoverflow.com/a/25313114/1984636
  • barlop
    barlop over 9 years
    well those aren't individual VM instances are they those aren't the individual virtual machines. They are instances related to virtualbox but they aren't the virtual machines. The virtual machines don't have individual instances.
  • barlop
    barlop over 9 years
    sivi, you write "the genymotion platform is built on top of vm-virtual box" Nobody is denying that GenyMotion uses Virtual Box. But Virtual Box is not a Virtual Machine, (and neither is GenyMotion). VirtualBox is a hypervisor that runs Virtual Machines within VirtualBox. A hypervisor e.g. VirtualBox, hosts Virtual Machines. You might have a Windows 7 Virtual Machine, a Windows XP Virtual Machine.. But VirtualBox is a hypervisor not a virtual machine. The processes you mention do not relate to any specific virtual machine, but relate generally to the hypervisor, that is, to virtualbox.
  • sivi
    sivi almost 9 years
    they are processes and if they were not processes they would not ne in the OS processes list ;0
  • barlop
    barlop almost 9 years
    yes I know they are processes. Anyhow, I see that besides the main virtualbox.exe, there are additional virtualbox.exe processes, and each of those additional virtualbox process relates to a virtual machine, and task manager shows which, so I see what you mean now. I have hence added a screenshot and some explanation to your answer.
  • barlop
    barlop almost 9 years
    Though you seemed to be talking about different processes VBox....exe The only VBox....exe process I have is VBoxSVC.exe
  • sivi
    sivi almost 9 years
    Ok we found a common base eventually.
  • CMA
    CMA almost 9 years
    THIS HELPED ME A LOT! THANKS! :3
  • Edison Spencer
    Edison Spencer over 8 years
    Since I did not have the option to "start", because the machine was in a "shutting down" state, I had to restart my PC. But once done, everything is working fine.