Android genymotion 版本和虚拟设备版本不匹配
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23846324/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
genymotion version and virtual device version do not match
提问by Chielarck
I'm using Genymotion emulator to develop on android, but when I run it, the following error occurs :
我正在使用 Genymotion 模拟器在 android 上进行开发,但是当我运行它时,出现以下错误:
genymotion version and virtual device version do not match
this is for detail error
这是详细 错误
I'm using Genymotion ver.2.2.0 and VirtualBox ver.4.3.12
我正在使用 Genymotion ver.2.2.0 和 VirtualBox ver.4.3.12
Can anyone help me?
谁能帮我?
回答by Ajay S
You should update your Virtual Device that's all, if you are not looking to see new feature then you can click on "Continue" button.
您应该更新您的虚拟设备,如果您不希望看到新功能,那么您可以单击“继续”按钮。
When you update it then you will have a fresh Virtual Device then there you need to install the other third party apps which if you installed in your current virtual device like Google Apps (Play Store, Google+ etc)
当您更新它时,您将拥有一个全新的虚拟设备,然后您需要安装其他第三方应用程序,如果您安装在当前的虚拟设备中,例如 Google Apps(Play 商店、Google+ 等)
https://cloud.genymotion.com/page/changelog/#220
https://cloud.genymotion.com/page/changelog/#220
We regularly add new features to Genymotion. These new features cannot work on virtual devices created with a previous version of Genymotion. This is why you see an annoying popup when you try to run them from a new Genymotion version. But rejoice! Today is the last day you will have to do it. In this release, we have introduced a wizard that automatically migrates old devices to new ones. So please, for the last time, delete your current virtual devices and create new ones using our new 2.2 Genymotion version. Next time, you will be able to automatically convert them.
我们定期向 Genymotion 添加新功能。这些新功能无法在使用先前版本的 Genymotion 创建的虚拟设备上运行。这就是为什么当您尝试从新的 Genymotion 版本运行它们时会看到令人讨厌的弹出窗口。但要庆幸!今天是你必须做的最后一天。在此版本中,我们引入了一个向导,可自动将旧设备迁移到新设备。所以请最后一次删除您当前的虚拟设备并使用我们新的 2.2 Genymotion 版本创建新的虚拟设备。下次,您将能够自动转换它们。
If you are using the free version, you can't use update on a virtual device (it's only for paid version). So what you need to do is remove that device from your list and re-download or add that same virtual device from the list again. This should solve to stop that popup.
如果您使用的是免费版本,则不能在虚拟设备上使用更新(仅适用于付费版本)。因此,您需要做的是从列表中删除该设备,然后再次从列表中重新下载或添加相同的虚拟设备。这应该可以解决阻止该弹出窗口。
回答by sparkz
This happened on one of my Macs. Clearing the cache didn't help. Neither did reinstalling Genymotion. However I found a solution (I assume some sort of similar procedure applies to Windows PCs):
这发生在我的一台 Mac 上。清除缓存没有帮助。重新安装 Genymotion 也没有。但是我找到了一个解决方案(我假设某种类似的程序适用于 Windows PC):
proceed to a fresh install of Genymotion 2.2.0 on another Mac (let's call it: "source"). Add a new device (for instance "Google Nexus 7 2013"). The correct 2.2.0 virtual device will be downloaded from the Genymotion Cloud. Launch the virtual machine once, then close it.
on the "source" Mac, open the Finder and use the "Go to folder" menu to browse to the /Users/[YourUserID]/.Genymobile/Genymotion/deployed folder. Locate the folder corresponding to your newly installed virtual device (i.e. "Google Nexus 7 2013 - 4.4.2 - API 19 - 1200x1920" in our example) and copy it to the exact same location onto your "target" Mac (assuming there's no existing folder with this name)
on your "source" Mac, browse to the /Users/[YourUserID]/Library folder (Alt key + "Go to folder" menu in the Finder). Go to the VirtualBox folder and open the VirtualBox.xml file with TextEdit. Locate the line that matches your newly installed virtual device in the section; add this line to section of the VirtualBox.xml file of your "target" Mac (located in the same folder).
继续在另一台 Mac 上全新安装 Genymotion 2.2.0(我们称之为:“源”)。添加新设备(例如“Google Nexus 7 2013”)。将从 Genymotion 云下载正确的 2.2.0 虚拟设备。启动虚拟机一次,然后关闭它。
在“源”Mac 上,打开 Finder 并使用“转到文件夹”菜单浏览到 /Users/[YourUserID]/.Genymobile/Genymotion/deployed 文件夹。找到与您新安装的虚拟设备对应的文件夹(即我们示例中的“Google Nexus 7 2013 - 4.4.2 - API 19 - 1200x1920”)并将其复制到“目标”Mac 上的完全相同的位置(假设没有现有的具有此名称的文件夹)
在“源”Mac 上,浏览到 /Users/[YourUserID]/Library 文件夹(Alt 键 + Finder 中的“转到文件夹”菜单)。转到 VirtualBox 文件夹并使用 TextEdit 打开 VirtualBox.xml 文件。在该部分中找到与您新安装的虚拟设备匹配的行;将此行添加到“目标”Mac(位于同一文件夹中)的 VirtualBox.xml 文件部分。
That's it! Start Genymotion on your "target" Mac and launch your new virtual device. No more "genymotion version and virtual device version do not match" warning.
就是这样!在您的“目标”Mac 上启动 Genymotion 并启动您的新虚拟设备。不再有“genymotion 版本和虚拟设备版本不匹配”警告。
回答by Mina Fawzy
According to genymotion documentation
根据 genymotion 文档
If Genymotion is up-to-date and a new version of virtual devices has been released, a pop-up window prompts you to automatically update your virtual devices while keeping all your installed packages and applications.
如果 Genymotion 是最新的并且已经发布了新版本的虚拟设备,一个弹出窗口会提示您自动更新您的虚拟设备,同时保留所有已安装的软件包和应用程序。
But here is the trick
但这里有诀窍
This is only possible with an Indie or a Business license. If you are using the Personal use mode of Genymotion, you must deploy the new version of virtual devices.
这仅适用于独立或商业许可证。如果您使用的是 Genymotion 的个人使用模式,则必须部署新版本的虚拟设备。
reference https://docs.genymotion.com/Content/03_Virtual_Devices/Updating_virtual_devices.htm
参考https://docs.genymotion.com/Content/03_Virtual_Devices/Updating_virtual_devices.htm
so how you can fix this issue if you are using free version
如果您使用的是免费版本,那么如何解决此问题
update manually virtual machine + delete old devices from genymotion and re-install again
手动更新虚拟机+从genymotion中删除旧设备并重新安装
Noticeyou will not face this issue when you install news images
请注意,您在安装新闻图片时不会遇到此问题
回答by Robiul Hossain Shah Imran
First delete the old devices from Genymotion.It will be good if you already have the latest version of Genymotion.Then add a new device and install one as you need. After installing your current version of Genymotion will match the version of virtual device.
首先从Genymotion中删除旧设备。如果您已经拥有最新版本的Genymotion就很好。然后添加一个新设备并根据需要安装一个。安装您当前版本的 Genymotion 后,将匹配虚拟设备的版本。
回答by user3427491
you just need to update your genymotion to update version
您只需要更新您的 genymotion 即可更新版本
if your virtual device and genymotion doesn't match, you will get difficult to install the third part
如果你的虚拟设备和genymotion不匹配,你将很难安装第三方
like me, i just install new virtual device on genymotion (samsung s) but doesn't match with my genymotion. Then, i update my genymotion and i dont need to download device again :) ( my device is saved)
像我一样,我只是在 genymotion(三星)上安装了新的虚拟设备,但与我的 genymotion 不匹配。然后,我更新我的 genymotion,我不需要再次下载设备 :)(我的设备已保存)