[英]Android Emulator cannot be started in visual studio 2017
我正在Xamrin Project上工作,当我在Android Emulator上运行应用程序时,每次尝试启动它时都会出现此错误:
getGLES2ExtensionString: Could not find GLES 2.x config!
Failed to obtain GLES 2.x extensions string!
Could not initialize emulated framebuffer
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
我尝试过多次重新创建android设备,但仍然无法正常工作。
有什么帮助吗?
发生问题是因为AVD尝试使用系统的图形卡渲染图形,而由于系统的图形驱动程序不是最新的或不支持此功能而无法执行此操作,因此这里是解决方案。
1.编辑您的AVD。
2.取消选中使用主机GPU选项。
3.单击完成(保存)。
4.重新启动模拟器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.