新建项目,Android模拟器报错:Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it.
2016-09-12 11:02
393 查看
小白博主刚安装好Android Studio,新建了第一个项目,没做任何更改,依照推荐选择了模拟器,直接运行,模拟器就报错:
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
init: Could not find wglGetExtensionsStringARB!
getGLES1ExtensionString: Could not find GLES 1.x config!
Failed to obtain GLES 1.x extensions string!
emulator: device fd:1112
HAXM is working and emulator runs in fast virt mode
emulator: ERROR: Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it.
Could not initialize emulated framebuffer
网上百度,查到了相关解决方案,这里记录一下:
既选择分辨率最小的模拟器,取消使用本机的GPU即可.(如下图所示)
1.点击run,进去设备选择器Device Chooser,在启动模拟器菜单处新增模拟器;
![](http://img.blog.csdn.net/20160912105557079?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
2.新建一个模拟器,选择最小分辨率,这里选择的是2.7寸的QVGA;
![](http://img.blog.csdn.net/20160912105636267?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
3.关键一步:取消Use Host GPU处的默认勾选即可.
![](http://img.blog.csdn.net/20160912105940606?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
小白们,重新运行一遍,是不是可以启动模拟器了,虽然丑爆了,但是毕竟功能上运行了.
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
init: Could not find wglGetExtensionsStringARB!
getGLES1ExtensionString: Could not find GLES 1.x config!
Failed to obtain GLES 1.x extensions string!
emulator: device fd:1112
HAXM is working and emulator runs in fast virt mode
emulator: ERROR: Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it.
Could not initialize emulated framebuffer
网上百度,查到了相关解决方案,这里记录一下:
既选择分辨率最小的模拟器,取消使用本机的GPU即可.(如下图所示)
1.点击run,进去设备选择器Device Chooser,在启动模拟器菜单处新增模拟器;
2.新建一个模拟器,选择最小分辨率,这里选择的是2.7寸的QVGA;
3.关键一步:取消Use Host GPU处的默认勾选即可.
小白们,重新运行一遍,是不是可以启动模拟器了,虽然丑爆了,但是毕竟功能上运行了.
相关文章推荐
- Android模拟器错误 ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
- Android模拟器错误 ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
- Android模拟器错误 ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
- Android Studio运行时 ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
- Android Studio提示模拟器错误:Could not initialize OpenglES emulation, use '-gpu off' to disable it.
- emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
- Android模拟器错误 ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
- androidstudio模拟器错误emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disabl
- 解决android模拟器 Failed to create Context 0x3005 Could not initialize OpenglES emulation...
- 解决android模拟器 Failed to create Context 0x3005 Could not initialize OpenglES emulation...
- Tips003 - Could not initialize OpenglES emulation, using software renderer
- android开发的WARNING: Could not initialize OpenglES emulation, using software renderer问题的解决
- 使用cocapods报错 [!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes
- (98)Address already in use: make_sock: could not bind to address 80 [resolved]
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- apache启动报错(98)Address already in use: make_sock: could not bind to address [::]:80
- (98)Address already in use: make_sock: could not bind to address 80 [resolved]
- apache启动报错(98)Address already in use: make_sock: could not bind to...
- tomcat项目无法发布异常,Could not copy all resources to .........
- 新建silverlight项目出现object reference not set to an instance of an object问题