Android Studio模拟器找不到wglgetextensionsStringarb [英] Android Studio emulator could not find wglgetextensionsstringarb
问题描述
当我尝试启动模拟器时,突然我开始出现此错误
When I try to start the emulator, suddenly I started getting this error
一切都在几天前完成. 如果我禁用GPU加速,那么它会起作用,但速度非常慢.
everything worked couple of days ago. if I disable GPU acceleration then it works but very slowly.
我尝试在BIOS中重新启用虚拟化,并且该虚拟化工作了一次,但现在我又遇到了相同的错误.
I tried re-enabling virtualization in the bios and it worked once and now I get the same error again..
我拥有最新的android studio 2.2.1 我有一个新的GeForce显卡.
I have the latest android studio 2.2.1 I have a new graphics card GeForce.
这是错误消息
启用了传真
init:找不到wglGetExtensionsStringARB!
init: Could not find wglGetExtensionsStringARB!
getGLES2ExtensionString:找不到GLES 2.x配置! Hax ram_size 0x60000000
getGLES2ExtensionString: Could not find GLES 2.x config! Hax ram_size 0x60000000
HAX正在运行,并且模拟器在快速virt模式下运行.
HAX is working and emulator runs in fast virt mode.
无法获取GLES 2.x扩展字符串!
Failed to obtain GLES 2.x extensions string!
无法初始化模拟的帧缓冲区
Could not initialize emulated framebuffer
模拟器:监听端口5554上的控制台连接
emulator: Listening for console connections on port: 5554
仿真器:此仿真器的序列号(对于ADB):emulator-5554
emulator: Serial number of this emulator (for ADB): emulator-5554
仿真器:错误:无法初始化OpenglES仿真,请使用'-gpu off'来 禁用它.
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
推荐答案
解决了问题!
这似乎是屏幕分辨率问题.
it seems to be a screen resolution issue.
我有一台4K笔记本电脑,但是我使用了2个常规的大屏幕,如果关闭(盖关闭),则使用笔记本电脑的屏幕.看来我的图形卡可以检测到此情况,然后切换到板上的劣质intel卡.
I have a 4K laptop but I use 2 regular large screens and the laptop screen if off (lid closed). it seems that my graphics cards detects this and switches to the on board shitty intel card.
解决方案是:
- 打开笔记本电脑盖(这样便会打开笔记本电脑的屏幕)
- 启动模拟器
- 模拟器运行后,您可以合上笔记本电脑盖
或使用您的图形卡设置为AVD始终启用硬件GPU(如果可能)
or use your graphics cards settings to enable hardware GPU always for AVD (if possible)
这篇关于Android Studio模拟器找不到wglgetextensionsStringarb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!