英文:
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中描述的说明操作:
- 右键单击“开始”菜单按钮,然后选择“应用和功能”
- 在相关设置下,右侧选择“程序和功能”
- 选中复选框 虚拟机平台
如果您尚未卸载Vanguard,或者对此仍然感到不确定,请阅读原始答案。无论如何,首先完全卸载Vanguard,然后启用Windows的功能。
原始回答
请检查以下内容,
- 您完全卸载了Vanguard
- 之后重新启动了计算机
- VGC和VGK服务不再运行
- 为了确保,您创建了一个新的模拟器
如果所有尝试都失败了,请尝试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:
- Right-click on the Start menu button and select
Apps and Features
- Select
Programs and Features
on the right under related settings - 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,
- You completely uninstalled Vanguard
- You restarted your PC afterward
- VGC and VGK services are no longer running
- You created a new emulator, just to be sure
If all fail give Riot's Manual Uninstall Guide a try.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论