新建项目,Android模拟器报错:Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it.
来源:互联网 发布:淘宝哪家supreme复刻 编辑:程序博客网 时间:2024/05/16 05:19
小白博主刚安装好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,在启动模拟器菜单处新增模拟器;
2.新建一个模拟器,选择最小分辨率,这里选择的是2.7寸的QVGA;
3.关键一步:取消Use Host GPU处的默认勾选即可.
小白们,重新运行一遍,是不是可以启动模拟器了,虽然丑爆了,但是毕竟功能上运行了.
0 0
- 新建项目,Android模拟器报错: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提示模拟器错误: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.
- emulator: 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开发:新建android虚拟机时没有Use Host GPU选项(Emulator without GPU emulation detected.)
- Hibernate报错:could not initialize proxy -no session以及 one-to-many配置
- 关于 parseSdkContent failed Could not initialize class android.graphics.Typeface 报错
- java报错 could not initialize proxy - no Session
- Qtcreator 界面启动不了报错:Could not initialize GLX
- xfire报错java.lang.IllegalStateException: Could not initialize Service.
- java.lang.NoClassDefFoundError: Could not initialize class 报错缘由
- Tsung笔记之100万用户压测执行步骤篇
- 使用JAVA操作netty框架
- JS显示图片轮播控件(带图片角标)
- 29. Divide Two Integers
- GSON方式生成和解析json数据
- 新建项目,Android模拟器报错:Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it.
- Android Common Layout 和 Adapter Layout 简单介绍(及ListView的简单使用)(一)
- Mybatis配置文件(mybatis-config.xml )源码分析
- 小回顾-构建Java程序
- 11. Container With Most Water
- .Net语言 APP开发平台——Smobiler学习日志:如何在手机上实现表单设计
- Tsung笔记之IP地址和端口限制突破篇
- HDU5877 Weak Pair(树状数组+dfs)
- hdu1078 FatMouse and Cheese 搜索dfs&dp