[android] Genymotion, "Unable to load VirtualBox engine." on Mavericks. VBox is setup correctly

I keep getting the following error:

enter image description here

I have reinstalled, deleted and tried about EVERYTHING to get Genymotion to work again.

I do not have the device I need, but Genymotion was PERFECT for the job, until Mavericks update I have been fighting to get it to work again.

MacBook Pro, Retina 13-inch, Early 2013. i5, 8gb.

I'm running version 1.3.1 for os x. I do have Virtualbox 4.3 installed with Oracle_VM_VirtualBox_Extension_Pack-4.3.0-89960.vbox-extpack too.

My Virtualbox starts up normally without ANY errors. I tried Environment variables putting vbox on my $PATH, all sorts of things. Nothing works!

I have no idea what to do anymore, anyone out there had similar problems and fixed it ?

EDIT: LOG:

Oct 28 09:49:36 [Genymotion] [Warning] ****  STARTING GENYMOTION  **** 
Oct 28 09:49:36 [Genymotion] [Warning] Genymotion Version: Genymotion 1.3.1 
Oct 28 09:49:36 [Genymotion] [Debug] Network request to URL:  "/launchpad/last_version/mac/x64/" 
Oct 28 09:49:39 [Genymotion] [Debug] Genymotion server informs that version  "1.3.0"  is available from  "https://ssl-files.genymotion.com/genymotion/genymotion-1.3.0/genymotion-1.3.0.dmg" 
Oct 28 09:49:39 [Genymotion] [Debug] Version: "1" 
Oct 28 09:49:39 [Genymotion] [Error] Genymotion is newer than the database... how is possible? 
Oct 28 09:49:39 [Genymotion] [Debug] Getting currently authenticated user from  local cache 
Oct 28 09:49:39 [Genymotion] [Debug] Loading "vboxmanage" plugin 
Oct 28 09:49:39 [Genymotion] [Debug] Library loaded with success 
Oct 28 09:49:39 [Genymotion] [Debug] Chipset: "GenuineIntel" 
Oct 28 09:49:39 [Genymotion] [Debug] CPUID 0x1 (Intel): ECX= "7fbae3bf" 
Oct 28 09:49:39 [Genymotion] [Debug] VBoxManage path (default value): "VBoxManage" 
Oct 28 09:50:09 [Genymotion] [Debug] Can't run VBoxManage ("list", "hostonlyifs") 
Oct 28 09:50:09 [Genymotion] [Warning] QProcess: Destroyed while process is still running.
Oct 28 09:50:09 [Genymotion] [Error] "Fail to load vboxmanage plugin from /Applications/Genymotion.app/Contents/MacOS/plugins/" 
Oct 28 09:50:09 [Genymotion] [Error] Unable to find VM Engine. Plugin loading aborted. 

EDIT 2:

VBoxManage list hostonlyifs

Prints the following:

VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_BASE_STREAM_WOULD_BLOCK (0x80470007) - Stream operation would block (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.

This question is related to android macos osx-mavericks genymotion

The answer is


In GNU/Linux you can use this command

 /etc/init.d/virtualbox

Options

  • start
  • stop
  • stop_vms
  • restart
  • force-reload
  • status

for example

 /etc/init.d/virtualbox force-reload

Good Luck


Deleting Host-only network helped me. 1. Open Virtual Box 2. File->Preferences-> Network 3. Select the Host-only network and remove it.

Now try starting the Genymotion.


Ok after a whole productive day down the drain I got it to work.

First I uninstalled all traces of Genymotion and Virtualbox. I then proceeded to install Genymotion and then Virtual Box again, but the previous version (4.2.18)

I ran Genymotion, Downloaded an Image, I got an error message about the network trying to run it. So I ran it Directly inside Virtual Box, It started up 100% with network and everything. I shut it down, went to Image's settings and changed the first adapter to "Host-only".

I opened the Genymotion Launcher again and "Played" my device and it started up with no problems.


i installed Oracle virtualbox (Download link) then everything working fine


Update: Genymotion's 2.5.1 release (https://www.genymotion.com/#!/release-notes/251#251) seems to have fixed this issue. (thanks for the heads up @Roger!)


For those that may be stumbling upon this a bit later, I resolved this by installing VirtualBox 4.3.28 (https://www.virtualbox.org/wiki/Download_Old_Builds_4_3). The new 5.0.0 and 4.3.30 versions didn't work for me with Genymotion 2.5. None of the above solutions worked :(

It's also worth noting that at the time of writing, Genymotion's FAQ states the following:

However, for performance reasons, we recommend using version 4.3.12


Eventually, you might not have anything in your /Library/StartupItems.

Using the following command helps :

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

It worked for me on two different Mavericks installs.


It happens when upgrading to el capitan from yosemite. Virtual box needs to be installed again. Reinstalling geny motion does nothing. You will keep all your virtual devices unchanged.


For those who are hitting this thread from Mac OSX with the same error message but a potentially different problem:

1) Check that you have opened GenyMotion through /Applications and that you have enabled the internet permissions

2) Install Virtual box from here: https://www.virtualbox.org/wiki/Downloads. Once you download and install, retry running GenyMotion

3) If those do not work, try Mul0w''s suggestion:

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart


On Ubuntu 16.04 vboxdrv is not longer in /etc/init.d, therefore you must run this:

/usr/lib/virtualbox/vboxdrv.sh setup

What worked for me in Win 7 is to remove the Host-only Network (in Oracle virtual box preferences menu [CTRL+G] -> Network -> host only networks). Genymotion will recreate it automatically at the next virtual device start.


I also Struggled with el captain installed. I installed the VirtualBox 4.3.26 version. Other latest versions doesnt worked for me. It works like a charm :)


For Arch Linux try this :

sudo vboxreload

On Ubuntu GNU/Linux:

sudo /etc/init.d/vboxdrv setup


You need to restart VirtualBox service you can do it with this:

sudo /Library/StartupItems/VirtualBox/VirtualBox restart

If in this path is empty you can use:

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

After I use Parallels I always need to do it.


Uninstall VirtualBox with uninstaller (it comes with dmg), then install VirtualBox again. This has solved that issue for me.


Virtual box version 4.3.28 worked with Genymotion 2.5.2 for me. Nothing else seemed to work.


Examples related to android

Under what circumstances can I call findViewById with an Options Menu / Action Bar item? How to implement a simple scenario the OO way My eclipse won't open, i download the bundle pack it keeps saying error log getting " (1) no such column: _id10 " error java doesn't run if structure inside of onclick listener Cannot retrieve string(s) from preferences (settings) strange error in my Animation Drawable how to put image in a bundle and pass it to another activity FragmentActivity to Fragment A failure occurred while executing com.android.build.gradle.internal.tasks

Examples related to macos

Problems with installation of Google App Engine SDK for php in OS X dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib error running php after installing node with brew on Mac Could not install packages due to an EnvironmentError: [Errno 13] How do I install Java on Mac OSX allowing version switching? Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools) Can't compile C program on a Mac after upgrade to Mojave You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user) How can I install a previous version of Python 3 in macOS using homebrew? Could not install packages due to a "Environment error :[error 13]: permission denied : 'usr/local/bin/f2py'"

Examples related to osx-mavericks

Composer could not find a composer.json pip installation /usr/local/opt/python/bin/python2.7: bad interpreter: No such file or directory Where is my m2 folder on Mac OS X Mavericks How to set JAVA_HOME environment variable on Mac OS X 10.9? dyld: Library not loaded: /usr/local/lib/libpng16.16.dylib with anything php related Xcode is not currently available from the Software Update server Maven not found in Mac OSX mavericks Genymotion, "Unable to load VirtualBox engine." on Mavericks. VBox is setup correctly App can't be opened because it is from an unidentified developer Error executing command 'ant' on Mac OS X 10.9 Mavericks when building for Android with PhoneGap/Cordova

Examples related to genymotion

Run react-native on android emulator Intel's HAXM equivalent for AMD on Windows OS How to install Google Play Services in a Genymotion VM (with no drag and drop support)? GenyMotion Unable to start the Genymotion virtual device Genymotion, "Unable to load VirtualBox engine." on Mavericks. VBox is setup correctly Unable to start Genymotion Virtual Device - Virtualbox Host Only Ethernet Adapter Failed to start Not able to start Genymotion device Genymotion error at start 'Unable to load virtualbox' How do you install Google frameworks (Play, Accounts, etc.) on a Genymotion virtual device? Unable to create Genymotion Virtual Device