可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
I have successfully downloaded and installed Genymotion and Virtualbox as well as a Virtual Device Image but I am unable to create a virtual device.
I get an error message stating
Unable to create Virtual Device:
Failed to import OVA
My laptop Specs
8gb RAM
Intel Core i7 (Sandy Bridge)
Hardware Virtualization is enabled in the BIOS.
回答1:
Deleting the Genymotion cached .ova file, deleting the corrupted deployed image, redownloading the image, and reinstalling it addressed the issue for me.
Note that the deployed images are under:
~/.Genymobile/Genymotion/deployed
the cached ova files are under:
~/.Genymobile/Genymotion/ova
回答2:
I solved the problem.It was my mistake.
It works fine by running genymotion with administrative privileges.
回答3:
I solved the issue deleting the deployed images in
~/.Genymobile/Genymotion/deployed
I didn't touch ova files
回答4:
I just ran into this problem too, so just in case anyone needs it:
The reason why it needs admin privileges is probably because of your settings on where it store the virtual device..
Go to Settings - Virtual Box - and change your virtual devices storage area. I got mine set to something like \Program Files\Genymotion, that's why it needs Admin privileges. I only blanked the field, clicked ok, and it got set to the default which is in my home directory..
After that no need to run as admin anymore..
(I need 50 reputations to comment, so had to use this answer..)
回答5:
I solved the issue myself by deleting all old devices (the folders of previously made devices) from my .android/avd folder.
回答6:
In my case, the DHCP server was missing from Virtual Box's Host Only Adapter. I added a DHCP server at 192.168.56.100 with addresses from 192.168.56.101 - 192.168.56.254 and it came up.
回答7:
I also had the issue. Had to delete Genymotion cached files/devices then redownload devices and reinstall.
回答8:
We had the same issues, it was because we had wrong version of Oracle VM Virtual Box. Make sure you uninstall wrong version and re-install Compatible Oracle VM Virtual Box.
回答9:
just delete the file in your ova and it should fix it, thats what i did, no need to run program under admin or anything. didnt delete my deployed files either. (I was trying to create new virtual machines not open them)
回答10:
Have a look at this blog.
Genymotion is previously known as AndroidVM.
As the blog stated:
Known bugs (same as 20121119 release) :
Hardware OpenGL/Intel HD/Windows : On most Intel HD drivers running Windows, the AndroVMplayer might crash (in the driver DLL) when starting Android ; you may have to restart AndroVMplayer an important number of times before it suceeds
Hardware OpenGL/WebView : On some GPUs (mostly NVidia ?), the browser and all apps which use the WebView component might show scrambled HTML content
AndroVMplayer now support window resizing, as well as fullscreen mode ; to use AndroVMplayer in fullscreen mode, you have to :
select “manual resolution” and tick the “fullscreen” box
press F11 (Ctrl+F11 on Mac) to switch to fullscreen when the player window has appeared
When starting the virtual machine, AndroVMplayer now check different things :
If your AndroVM virtual machine doesn’t have the “hardware OpenGL” option enabled, it can enable it for you before starting the VM.
If your AndroVM virtual machine first network adapter is not configured, it can configure it for you (as well as create the host-only network for you).
To summarize that, with this new AndroVMplayer, to use OpenGL hardware you just have to :
Import the AndroVM ova in VirtualBox
Start AndroVMplayer, choose your resolution and the virtual machine you’ve just imported
Click “Run” and it should work
You can still use AndroVMplayer with non-VirtualBox systems (e.g VMWare) but, obviously, you won’t benefit from automatic VirtualBox configuration and VM start/stop ; in this case, you have to choose ‘none’ as the VM name and directly type the IP address of your virtual machine.
Please note that, due to the change in communication, old AndroVMplayer won’t work with 20130222 OVAs and old OVAs won’t work with 20130222 AndroVMplayer.
回答11:
Disadvantage of deleting the deployed and .ova files is obvious i.e. you have to download the massive 200mb image again. A better choice is to :
- Open genymotion and open settings --> virtualBox --> virtual devices browse and set the path to a folder which can be completely accessed without administrative pivileges e.g. for ubuntu set virtual devices path to any folder in your home directory for example /home/user/deployed and for windows you can use a folder like C://deployed.
That's it . Now you can use your already existing .ova file again to deploy image to new locatioin without any problem.
回答12:
I followed following steps
- I removed everything under {~/.Genymobile/Genymotion/ova} folder (with only doing this step it works sometimes)
- removed everything under {~/.Genymobile/Genymotion/bin} folder
After which I downloaded the fresh copy and it worked like magic.
Hope this helps.
回答13:
I solved this error message by fixing the path to the virtual machines folder (Setting > VirtualBox - Virtual devices). Yes, I had broken settings...
回答14:
In case someone is using Mac OSX YOSEMITE or earlier. Follow this post. It worked for me. http://forums.macrumors.com/showthread.php?t=1196027
Run these two command in Terminal:
sudo chmod 755 /Applications
sudo chmod 755 /Applications/Virtualbox.app
Took me hours to get it to work!
回答15:
- Check if you have problem with your virtual device path under
Genymotion > Settings > Virtual Box > Virtual Device >
- If it is still an issue remove files under ~/.Genymobile/Genymotion/ova
- If it is still an issue remove files under ~/.Genymobile/Genymotion/bin
- Remove Genymotion and all files under ~/.Genymobile/ & reinstall
回答16:
- If you have installed the Genymotion plugin without VirtualBox then make sure the version of VBox is compatible with the plugin, otherwise the plugin will not deploy the virtual device regardless of the OVA file.Install the latest versions of both if you are unsure
Once you verified the versions, you may need to either:
a: Give administrative privileges for Genymotion via properties
OR
b: Change the location for the deployed devices via Settings/VirtualBox to somewhere more accessbile like D:/GenyMotion VMs/
- If both step 1 and 2 doesnt work for you, sadly you will have to clear the cache via Settings/Misc and reinstall the OVA file.Hopefully your efforts will be worth it. Good Luck.
回答17:
It works fine by running genymotion with administrative privileges.
I solved it by deleting all of file in Ova,Templates and Deployed folder, I can run download and reinstall again and run without Administrative privileges
回答18:
I solved this problem on windows setting up sdk path in configuration option.
回答19:
Double check the virtual device you're trying to create has the same version on Genymotion that you have running.
I just upgraded to 2.1.1 but all the virtual devices I was trying to install were for 2.1.0. Downgrading Genymotion did the trick.
回答20:
A very simple Solution that i just Tried is:
1) Delete your Instalation Folder at ~/Genymobile
2) Delete the Virtual Device Folder at C:\Users\ your_name\AppData\Local/Genymobile
3) Reinstall
4) Done.
回答21:
Oracle VM ware has an update for Windows 10. I was getting this error until I installed this update.
回答22:
I had the same problem because i had an old version of Virtual Box (4.0.0).
So, I uninstalled genymotion and the old version of VB,
and I installed genymotion with virtual box (5.0.28).
And Its worked fine.
回答23:
This fixed the issue:
- Just go to
~/.Genymobile/Genymotion/ova
(Either you are on Mac OSX
or Windows, you can find this path by looking for Virtualbox path at
the Genymotion Settings, there is a path to Genymotion/deployed
folder, you should go to Genymotion/ova folder)
- Open the ova file with your virtualbox.
- At the Virtualbox startup dialog box, Appliance settings, It shows
Guest OS
type set to Other Linux 64
, you should double click and change it to your OS type (e.g Mac OSX El Captain (64-bit)) and Import:
- Now launch Genymotion and find the virtual device in the list of already deployed ones ready to run
- Run the virtual device, after first run you get a warning saying Genymotion version does not match with Virtualbox version and choose Continue.
I hope it helps future visitors to this page.
回答24:
I had the same problem,
i solved it by:
1 - i uninstall virtual box
2 - i uninstall genymotion with all new folder that dependency
3 - download latest version of virtual box(from oracle site)
4 - download latest version of Genymotion(without virtual box version
size:about42M)
5 - first install virtual box
6 - install genymotion
7 - before run genymotion you should restart your windows os
8 - run genymotion as admin
Sorry for my english writing
I'm new to learn :D
回答25:
First you go to ova inside the folder and delete all files
C:\Users\UserName\AppData\Local\Genymobile\Genymotion\ova
After you uninstall the genymotion and virtual box. next you can do for install of genymotion and virtual box as check your support your OS(windows) capability version install then work fine.
Now you can create virtual device.
This way for work my windows 10 OS.
回答26:
Any of above solutions didn't work for me but I finally found it!
You should remove under folders in C:\Users\[your user]\VirtualBox VMs
.
I hope it helps you.
回答27:
Solved!!
I am using OS X 10.9 (Mavericks), Genymotion v1.3.1
While adding the device, instead of adding Nexus, I added Galaxy S4/HTC One/Xperia Z - 4.2.2 with Google Apps.
This one just worked.