简体   繁体   English

删除Visual Studio android模拟器后无法让Genymotion / VMware工作

[英]Unable to get Genymotion/VMware to work after removing Visual Studio android Emulator

So, I was looking for an alternative to Genymotion because I am doing Flutter development primarily and my machine uses an AMD processor (and is on windows). 因此,我一直在寻找Genymotion的替代产品,因为我主要是在进行Flutter开发,并且我的机器使用AMD处理器(并且在Windows上)。 With Genymotion, I find that I can not use Flutter's hot reload feature because it tends to disconnect from the virtual device every time I try to reload. 使用Genymotion,我发现我无法使用Flutter的热重装功能,因为每次尝试重装时,它都会与虚拟设备断开连接。

I choose to try to use the Visual studio Android Emulator. 我选择尝试使用Visual Studio Android模拟器。 Needless to say that this emulator did not work with flutter. 不用说,该仿真器无法正常工作。 While it was still on my computer, I was unable to get Genymotion to work (probably because Hyper-V was enabled). 当它仍在我的计算机上时,我无法使Genymotion正常工作(可能是因为启用了Hyper-V)。 However, after deleting the VS emulator and disabling Hyper-V I am still getting the same errors with VMware and Genymotion. 但是,删除VS仿真器并禁用Hyper-V之后,VMware和Genymotion仍然出现相同的错误。 Genymotion kicks back an error that says: Your CPU is incompatible with virtualization technologies and VMbox gives me an AMD-V is not available (VERR_SVM_NO_SVM) error. Genymotion退回一条错误消息: Your CPU is incompatible with virtualization technologies VMbox给我一个AMD-V is not available (VERR_SVM_NO_SVM)错误。

I checked my Bios and I still have virtualization turned on, I also tried to do a windows restore back before I even installed the Emulator and that didn't do anything. 我检查了Bios并仍打开了虚拟化功能,还尝试了Windows还原操作,甚至没有安装仿真器,但没有执行任何操作。 Again, Hyper-V is completely turned off (I ran the command in Powershell, CMD and went through the GUI and I even went into the services and made sure each one was disabled.) I am not really sure what to do from here; 同样,Hyper-V完全关闭了(我在Powershell,CMD中运行了该命令,并通过了GUI,甚至进入了服务并确保每个服务都被禁用。)我真的不确定从这里开始该做什么。 my guess is that there is a corrupt registry entry that is telling VMware that Hyper-V is still enabled but I really am not sure where to start. 我的猜测是有一个损坏的注册表项告诉VMware仍然启用了Hyper-V,但我真的不确定从哪里开始。

The issue was solved. 问题已解决。 As I suspected there was a registry issue and also the VB .virtualbox folder was corrupted for some reason. 我怀疑存在注册表问题,并且由于某些原因VB .virtualbox文件夹已损坏。 In essence, VB thought Hyper-V was still active which was causing genymotion to fail. 本质上,VB认为Hyper-V仍然处于活动状态,这导致genymotion失败。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM