Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/345.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android emulator 无法创建Genymotion虚拟设备_Android Emulator_Virtualbox_Genymotion - Fatal编程技术网

Android emulator 无法创建Genymotion虚拟设备

Android emulator 无法创建Genymotion虚拟设备,android-emulator,virtualbox,genymotion,Android Emulator,Virtualbox,Genymotion,我已成功下载并安装了Genymotion和Virtualbox以及虚拟设备映像,但无法创建虚拟设备。我收到一条错误消息,说明 无法创建虚拟设备: 无法导入OVA 我的笔记本电脑规格 8gb内存 英特尔酷睿i7(桑迪桥) BIOS中启用了硬件虚拟化。请查看 Genymotion以前被称为AndroidVM 正如博客所说: Known bugs (same as 20121119 release) : Hardware OpenGL/Intel HD/Windows : On most Intel

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

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

我的笔记本电脑规格
8gb内存
英特尔酷睿i7(桑迪桥)
BIOS中启用了硬件虚拟化。

请查看

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.

我解决了这个问题。这是我的错误。

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

在我的例子中,虚拟盒的纯主机适配器中缺少DHCP服务器。我在192.168.56.100添加了一个DHCP服务器,地址从192.168.56.101到192.168.56.254

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

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

请注意,部署的映像位于以下位置: ~/.Genymobile/Genymotion/deployed

缓存的ova文件位于以下位置: ~/.Genymobile/Genymotion/ova已解决

我正在使用OSX10.9(Mavericks),Genymotion v1.3.1

在添加设备时,我没有添加Nexus,而是添加了Galaxy S4/HTC One/Xperia Z-4.2.2和谷歌应用程序


这一个刚刚起作用。

我解决了在中删除已部署映像的问题

~/.Genymobile/Genymotion/deployed

我没有碰ova文件

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


我通过删除Ova中的所有文件、模板和部署文件夹解决了这个问题,我可以再次运行下载和重新安装,并在没有管理权限的情况下运行。

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

再次检查您尝试创建的虚拟设备在Genymotion上的版本是否与您正在运行的相同


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

我遵循以下步骤

  • 我删除了{~/.Genymobile/Genymotion/ova}文件夹下的所有内容(仅此步骤有时有效)
  • 已删除{~/.Genymobile/Genymotion/bin}文件夹下的所有内容
  • 之后,我下载了新的副本,它像魔术一样工作


    希望这有帮助。

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

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

    只需删除ova中的文件,它就会修复它,这就是我所做的,不需要在admin或任何操作下运行程序。也没有删除我部署的文件。(我试图创建新的虚拟机,而不是打开它们)

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

    1) 删除位于~/Genymobile的安装文件夹

    2) 删除位于C:\Users\your\u name\AppData\Local/Genymobile的虚拟设备文件夹

    3) 重新安装


    4) 完成。

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


    (我需要50个声誉来评论,所以不得不使用这个答案。)

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

    • 打开genymotion并打开设置-->virtualBox-->虚拟设备浏览并设置文件夹的路径,该文件夹无需管理权限即可完全访问。例如,对于ubuntu,将虚拟设备路径设置为主目录中的任何文件夹,例如/home/user/deployed,对于windows,您可以使用C://deployed这样的文件夹

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

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

    以防有人使用Mac OSX YOSEMITE或更早版本。跟随这篇文章。这对我有用

    在终端中运行以下两个命令:

    sudo chmod 755/应用程序 sudo chmod 755/Applications/Virtualbox.app
    我花了好几个小时才把它修好

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

  • 检查下的虚拟设备路径是否有问题 Genymotion>Settings>virtualbox>virtualdevice>
  • 如果仍然存在问题,请删除~/.Genymobile/Genymotion/ova下的文件
  • 如果仍然存在问题,请删除~/.Genymobile/Genymotion/bin下的文件
  • 删除Genymotion和~/.Genymobile/下的所有文件并重新安装(&R)
  • 如果已安装不带VirtualBox的Genymotion插件,请确保VBox的版本与该插件兼容,否则无论OVA文件如何,该插件都不会部署虚拟设备。如果不确定,请安装两者的最新版本
  • 验证版本后,您可能需要:

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

    b:通过设置/VirtualBo更改已部署设备的位置
    C:\Users\UserName\AppData\Local\Genymobile\Genymotion\ova