简体   繁体   English

Android Studio,无法运行模拟器

[英]Android Studio, Cannot run Emulator

Whenever i try to run an emulator i get:每当我尝试运行模拟器时,我都会得到:

16:35   Gradle build finished in 58 s 596 ms

16:35   Emulator: Screenshot failed to find cb 0

16:35   Emulator: Process finished with exit code 0

I have tried re-installing AS twice and ran on several different virtual devices and APIs.我尝试过两次重新安装 AS 并在几个不同的虚拟设备和 API 上运行。

Do you have Valorant installed?你安装了 Valorant 吗?

If so try disabling vanguard anti-cheat with elevated cmd;如果是这样,请尝试使用提升的 cmd 禁用先锋反作弊;

sc config vgc start= disabled

And restart your PC after that Disabling the anticheat will probably block you from playing the game so you can enable it again with然后重新启动你的电脑禁用反作弊可能会阻止你玩游戏,所以你可以再次启用它

sc config vgc start= system

in my case i didn't have to uninstall the vanguard anti cheat, i just install another AVD with another android version (android 10 in my case) and that's it.在我的情况下,我不必卸载先锋反作弊,我只需安装另一个带有另一个 android 版本(在我的情况下为 android 10)的 AVD,就是这样。 or you can just run the app in your smartphone.或者您可以在智能手机中运行该应用程序。 Let me know if that helped"让我知道这是否有帮助”

Disable Vanguard禁用先锋

sc config vgc start= disabled & sc config vgk start= disabled

Disable and stop Vanguard禁用和停止先锋

sc config vgc start= disabled & sc config vgk start= disabled & net stop vgc & net stop vgk & taskkill /IM vgtray.exe

Enable Vanguard启用先锋

sc config vgc start= demand & sc config vgk start= system

Enable Vanguard and restart your computer启用 Vanguard 并重新启动计算机

sc config vgc start= demand & sc config vgk start= system & shutdown /r /f /t 00

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

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