为什么Android Studio模拟器在启动时会出现帧缓冲区错误? [英] Why is the Android Studio emulator giving me a framebuffer error on startup?
问题描述
我在Windows 7 PC上.当我在命令行上从Android Studio运行Android模拟器时,出现此错误:
I'm on a Windows 7 PC. When I run the Android emulator from Android Studio on the command line, I get this error:
Failed on eglChooseConfig
Could not initialize emulated framebuffer
我可以通过选择软件渲染来修复它,但这确实很慢,而且GPU仿真已经在几天前开始工作了.突然停止工作了.
I can fix it by selecting software rendering, but that's really slow, and the GPU emulation was working a couple days before; it just suddenly stopped working.
我已经尝试将其更改为不使用多核CPU,因为它被标记为实验性的,但是我遇到了同样的问题.
I've tried changing it not to use multi-core CPU since it's labelled experimental, but I get the same problem.
更新:我刚刚从AS 2.3.3升级到3.0.1.它安装了一堆新的仿真器软件,但仍然出现相同的错误.
Update: I just upgraded from AS 2.3.3 to 3.0.1. It installed a bunch of new emulator software, and I still get the same error.
设置如下所示:
推荐答案
它不起作用,因为显示设置为16位彩色.将其设置为32位色,此特定问题可能会消失.还有其他可能导致错误的原因.
It was not working because the display was set to 16-bit color. Set it to 32-bit color, and this particular issue may go away; there are other possible things that can cause the error.
这篇关于为什么Android Studio模拟器在启动时会出现帧缓冲区错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!