Android Studio模拟器无法与Vanguard一起正常工作。

huangapple go评论116阅读模式
英文:

Android Studio Emulator not working with Vanguard

问题

标题可能看起来是个反问句,因为这个问题的解决方案已经存在,但我的问题有点不同,因为即使在卸载vgc服务和vgk之后,我的模拟器仍然会终止,所以我不知道问题在哪里,更改日志显示:

"Emulator: Pixel 6 API 29 - Failed to sync vcpu reg"

解决方案是确保我没有任何虚拟机在运行,我相当确定没有在运行。

编辑:我尝试运行Gennymotion,但也没有成功...

如果这有帮助

英文:

The title may seem rhetorical given that solutions for this problem already exist

but, my problem is a bit different, in that my emulator still terminates after uninstalling vgc service and vgk as well so idk what's the problem anymore and change logs show

Emulator: Pixel 6 API 29 - Failed to sync vcpu reg 

this and the solution was to make sure I don't have any VM's running which I'm pretty sure are not running

Edit: I tried running Gennymotion and that too did not work as well...
if this helps

答案1

得分: 1

我记得在2020年花了半天的时间来找出为什么我的模拟器停止工作...我真的很惊讶,这在2023年仍然是一个问题。

更新

似乎卸载Vanguard也会禁用Windows的虚拟机平台,要重新启用它,请按照this answer中描述的说明操作:

  1. 右键单击“开始”菜单按钮,然后选择“应用和功能”
  2. 在相关设置下,右侧选择“程序和功能”
  3. 选中复选框 虚拟机平台

如果您尚未卸载Vanguard,或者对此仍然感到不确定,请阅读原始答案。无论如何,首先完全卸载Vanguard,然后启用Windows的功能。

原始回答

请检查以下内容,

  1. 您完全卸载了Vanguard
  2. 之后重新启动了计算机
  3. VGC和VGK服务不再运行
  4. 为了确保,您创建了一个新的模拟器

如果所有尝试都失败了,请尝试Riot的手动卸载指南

英文:

I remember spending half a day in 2020 trying to find out why my emulators stopped working... I'm really impressed that this is still an issue in 2023.

 

Update

It seems that uninstalling Vanguard also disables Window's Virtual Machine Platform, to re-enable it follow the instructions described in this answer:

  1. Right-click on the Start menu button and select Apps and Features
  2. Select Programs and Features on the right under related settings
  3. Select the checkbox Virtual Machine Platform

If you haven't uninstalled Vanguard yet or you are still unsure about it, read the original answer. In any case, first uninstall Vanguard completely and then enable Windows' feature.

 

Original Aswer

Check the following,

  1. You completely uninstalled Vanguard
  2. You restarted your PC afterward
  3. VGC and VGK services are no longer running
  4. You created a new emulator, just to be sure

If all fail give Riot's Manual Uninstall Guide a try.

huangapple
  • 本文由 发表于 2023年1月9日 05:20:21
  • 转载请务必保留本文链接:https://go.coder-hub.com/75051390.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定