Android模拟器错误 ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
来源:互联网 发布:同步卫星轨道半径算法 编辑:程序博客网 时间:2024/05/16 05:25
最近用Android Studio 2.1 Preview 5,打开模拟器出现如下错误信息:
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
解决方法
上网查了下解决办法,大概如下:
出现问题因为 AVD 尝试呈现图形使用系统的图形卡和不能做,要么因为你系统的图形驱动程序不是最新的或者它不支持这所以这里是解决方案。
方法1:
- 更新您的操作系统的系统的显卡驱动程序。
- 重新启动您的系统。
- 设置你的系统的屏幕分辨率越高越好。
- 尝试从现在开始你的AVD。
方法2:
- 如果方法1 失败, 进入到AVD 管理器。
- 编辑您的AVD 。
- 取消选中 “使用主机GPU的选项。
- 点击 完成 (保存)。
- 开始再次AVD 。
因为我的显卡驱动禁掉了,所以方法1不行。我用方法2就可以了,不要选Emulated-Graphics:Hardware - GLES 2.0,如下图:
选Software - GLES 2.0,如下图:
重新运行,就可以打开AVD了。
- 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提示模拟器错误: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.
- 新建项目,Android模拟器报错: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 模拟器错误PANIC: Could not open
- eclipse错误:parseSdkContent failed Could not initialize class android.graphics
- 解决Android 模拟器 “HAX is not working and emulator runs in emulation mode” 错误
- appium1.3.7的坑-Original error: Could not initialize ideviceinstaller; make sure it is installed ...
- appium1.3.7的坑-Original error: Could not initialize ideviceinstaller; make sure it is installed ...
- appium1.3.7的坑-Original error: Could not initialize ideviceinstaller; make sure it is installed
- ERROR - could not initialize proxy - no Session
- Android FFmpeg 编译(2016,亲测)
- Java并发与多线程教程(2)
- netcat——文件传输
- Struts2 Action处理
- OnTouch事件ACTION_DOWN,ACTION_MOVE,ACTION_UP的事件拦截
- Android模拟器错误 ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
- 架构高性能网站秘笈(七)——负载均衡
- JQuery 自动触发事件
- 【代码笔记】iOS-截屏功能
- android 使用static 变量注意事项
- Qt中使用SQLITE时如何获取一个数据库中的表名QSqlDatabase db = QSqlDatabase::addDatabase("QPSQL"); db.setHostName("ac
- english1
- eclipse打开报错:Java was started but returned exit code=13
- _T("")的由来及意义