32

我已经成功下载并安装了 Genymotion 和 Virtualbox 以及虚拟设备映像,但我无法创建虚拟设备。
我收到一条错误消息说明

无法创建虚拟设备:
无法导入 OVA

我的笔记本电脑规格
8gb RAM
Intel Core i7 (Sandy Bridge)
在 BIOS 中启用了硬件虚拟化。

4

27 回答 27

49

删除 Genymotion 缓存的 .ova 文件,删除损坏的部署映像,重新下载映像并重新安装它为我解决了这个问题。

请注意,部署的图像位于:~/.Genymobile/Genymotion/deployed

缓存的 ova 文件位于:~/.Genymobile/Genymotion/ova

于 2013-10-22T23:17:15.983 回答
29

我解决了这个问题,这是我的错误。
通过以管理权限运行 genymotion 可以正常工作。

于 2013-07-13T05:50:06.947 回答
19

我解决了删除已部署图像的问题

~/.Genymobile/Genymotion/已部署

我没碰过ova文件

于 2013-11-13T10:20:00.023 回答
8

我也遇到了这个问题,所以以防万一有人需要它:它需要管理员权限的原因可能是因为您设置了存储虚拟设备的位置.. 转到设置 - 虚拟框 - 并更改您的虚拟设备储藏区域。我将我的设置为 \Program Files\Genymotion,这就是它需要管理员权限的原因。我只清空了该字段,单击确定,并将其设置为我的主目录中的默认值。之后不再需要以管理员身份运行..

(我需要 50 个声誉才能发表评论,所以不得不使用这个答案..)

于 2014-10-09T08:45:41.043 回答
5

我通过从我的 .android/avd 文件夹中删除所有旧设备(以前制作的设备的文件夹)自己解决了这个问题。

于 2014-02-19T03:17:29.387 回答
3

就我而言,Virtual Box 的仅主机适配器中缺少 DHCP 服务器。我在 192.168.56.100 添加了一个 DHCP 服务器,地址范围为 192.168.56.101 - 192.168.56.254,它出现了。

于 2013-09-09T17:41:20.000 回答
3

我也有这个问题。必须删除 Genymotion 缓存的文件/设备,然后重新下载设备并重新安装。

于 2013-10-19T18:48:45.317 回答
3

我们遇到了同样的问题,这是因为我们的 Oracle VM Virtual Box 版本错误。确保卸载错误的版本并重新安装兼容的 Oracle VM Virtual Box。

于 2014-03-18T07:33:58.283 回答
3

只需删除您的 ova 中的文件,它应该修复它,这就是我所做的,无需在管理员或任何东西下运行程序。也没有删除我部署的文件。(我试图创建新的虚拟机而不是打开它们)

于 2014-03-20T04:40:30.697 回答
2

看看这个博客

Genymotion 以前称为 AndroidVM。

正如博客所述:

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.
于 2013-07-09T05:25:07.257 回答
2

删除已部署和 .ova 文件的缺点很明显,即您必须再次下载 200mb 的海量图像。更好的选择是:

  • 打开 genymotion 并打开设置 --> virtualBox --> 虚拟设备浏览并设置一个文件夹的路径,该文件夹可以在没有管理权限的情况下完全访问,例如对于 ubuntu,将虚拟设备路径设置到主目录中的任何文件夹,例如 /home/user /deployed,对于 Windows,您可以使用 C://deployed 之类的文件夹。

就是这样 。现在您可以再次使用已经存在的 .ova 文件将映像部署到新位置,而不会出现任何问题。

于 2015-01-18T14:42:07.063 回答
1

我按照以下步骤

  1. 我删除了 {~/.Genymobile/Genymotion/ova} 文件夹下的所有内容(仅执行此步骤有时会起作用)
  2. 删除 {~/.Genymobile/Genymotion/bin} 文件夹下的所有内容

之后我下载了新的副本,它就像魔术一样工作。

希望这可以帮助。

于 2014-02-12T23:14:23.347 回答
1

我通过修复虚拟机文件夹的路径(设置> VirtualBox - 虚拟设备)解决了这个错误消息。是的,我的设置被破坏了...

于 2015-02-26T16:08:07.427 回答
1

如果有人使用 Mac OSX YOSEMITE 或更早版本。关注这个帖子。它对我有用。http://forums.macrumors.com/showthread.php?t=1196027

在终端中运行这两个命令:

sudo chmod 755 /应用程序

sudo chmod 755 /Applications/Virtualbox.app

我花了几个小时才让它工作!

于 2015-05-27T00:19:27.883 回答
1
  1. 检查Genymotion > Settings > Virtual Box > Virtual Device >下的虚拟设备路径是否有问题

在此处输入图像描述

  1. 如果仍然存在问题,请删除~/.Genymobile/Genymotion/ova下的文件
  2. 如果仍然存在问题,请删除~/.Genymobile/Genymotion/bin下的文件
  3. 删除 Genymotion 和~/.Genymobile/下的所有文件并重新安装
于 2015-10-14T03:30:45.680 回答
1
  1. 如果你安装了没有 VirtualBox 的 Genymotion 插件,那么请确保VBox的版本与插件兼容,否则无论 OVA 文件如何,插件都不会部署虚拟设备。如果不确定,请安装两者的最新版本
  2. 验证版本后,您可能需要:

    a: 通过属性为 Genymotion 授予管理权限

    或者

    b:通过 Settings/VirtualBox 将已部署设备的位置更改为更易于访问的位置,例如 D:/GenyMotion VMs/

  3. 如果第 1 步和第 2 步都不适合您,遗憾的是您将不得不通过设置/杂项清除缓存并重新安装 OVA 文件。希望您的努力是值得的。祝你好运。
于 2015-12-15T12:57:41.750 回答
0

通过以管理权限运行 genymotion 可以正常工作。

我通过删除 Ova、Templates 和 Deployed 文件夹中的所有文件解决了这个问题,我可以再次运行下载并重新安装,无需管理员权限即可运行

于 2013-11-27T05:46:52.737 回答
0

我在配置选项中设置 sdk 路径的 Windows 上解决了这个问题。

于 2014-01-08T11:51:20.970 回答
0

仔细检查您尝试创建的虚拟设备在 Genymotion 上运行的版本是否相同。

我刚刚升级到 2.1.1,但我尝试安装的所有虚拟设备都是 2.1.0。降级 Genymotion 成功了。

于 2014-02-09T02:11:56.700 回答
0

我刚刚尝试过的一个非常简单的解决方案是:

1) 在 ~/Genymobile 删除您的安装文件夹

2) 删除 C:\Users\ your_name\AppData\Local/Genymobile 的虚拟设备文件夹

3) 重新安装

4) 完成。

于 2014-05-03T19:24:33.617 回答
0

Oracle VM ware 有适用于 Windows 10 的更新。在安装此更新之前,我一直收到此错误。

于 2015-09-05T17:33:04.127 回答
0

我有同样的问题,因为我有一个旧版本Virtual Box (4.0.0)
所以,我卸载了 genymotion 和旧版本的 VB,
我用virtual box (5.0.28)安装了genymotion。 它工作得很好。

于 2017-05-04T10:04:06.950 回答
0

这解决了这个问题:

  1. 只需转到~/.Genymobile/Genymotion/ova(您在 Mac OSX 或 Windows 上,您可以通过在 Genymotion 设置中查找 Virtualbox 路径来找到此路径,有 Genymotion/deployed 文件夹的路径,您应该转到 Genymotion/ova 文件夹)
  2. 用你的 virtualbox 打开 ova 文件。
  3. 在 Virtualbox 启动对话框,设备设置,它显示Guest OS类型设置为Other Linux 64,您应该双击并将其更改为您的操作系统类型(例如 Mac OSX El Captain(64 位))并导入: 在此处输入图像描述
  4. 现在启动 Genymotion 并在已部署的准备运行的列表中找到虚拟设备
  5. 运行虚拟设备,第一次运行后,您会收到一条警告说 Genymotion 版本与 Virtualbox 版本不匹配,然后选择继续。

我希望它可以帮助将来访问此页面的访问者。

于 2017-09-16T13:56:58.667 回答
0

我遇到了同样的问题,我通过以下方式解决了它:
1 - 我卸载虚拟框
2 - 我卸载带有依赖项的所有新文件夹的 genymotion
3 - 下载最新版本的虚拟框(从 oracle 站点)
4 - 下载最新版本的 Genymotion(没有虚拟盒子版本
大小:约42M)
5 - 首先安装虚拟盒子
6 - 安装genymotion
7 - 在运行genymotion之前你应该重新启动你的windows os
8 - 以管理员身份运行genymotion
对不起我的英文写作
我是新手:D

于 2017-12-11T12:17:31.680 回答
0

以上任何解决方案都对我不起作用,但我终于找到了!

您应该删除C:\Users\[your user]\VirtualBox VMs.

我希望它对你有帮助。

于 2018-04-25T08:57:25.333 回答
-1

首先你去文件夹里面的ova并删除所有文件

C:\Users\UserName\AppData\Local\Genymobile\Genymotion\ova

卸载 genymotion 和 virtual box 后。接下来,您可以安装 genymotion 和虚拟框,检查您的操作系统(Windows)功能版本是否支持安装,然后正常工作。

现在您可以创建虚拟设备了。

这种方式适用于我的 Windows 10 操作系统。

于 2018-02-21T10:29:52.237 回答
-5

解决了!!

我正在使用 OS X 10.9 (Mavericks),Genymotion v1.3.1

在添加设备时,我没有添加 Nexus,而是添加了 Galaxy S4/HTC One/Xperia Z - 4.2.2 和 Google Apps。

这个刚刚奏效。

于 2013-11-13T09:13:13.893 回答