EGL_BAD_MATCH错误Android Studio [英] EGL_BAD_MATCH error Android Studio
问题描述
我刚刚在Android Studio 2.2中启动了一个新项目.
添加一些代码行(主要是SQLite)之后,我想编译我的杰作.然后,发生这种情况:
I've just started a new project in Android Studio 2.2.
After I added some lines of code (mainly SQLite), I wanted to compile my masterpiece. And then, this occured:
E/EGL_emulation:tid 3901:eglSurfaceAttrib(1146):错误0x3009(EGL_BAD_MATCH)W/OpenGLRenderer:无法在上设置EGL_SWAP_BEHAVIOR表面0xacfc9fa0,错误= EGL_BAD_MATCH设备emulator-5554断开连接,监视已停止.应用终止.
E/EGL_emulation: tid 3901: eglSurfaceAttrib(1146): error 0x3009 (EGL_BAD_MATCH) W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xacfc9fa0, error=EGL_BAD_MATCH Device emulator-5554disconnected, monitoring stopped. Application terminated.
有人知道怎么了吗?:)
Does anyone know what's wrong? :)
推荐答案
转到工具-> android-> AVD管理器
,然后更改设备的设置.单击将代码的模拟性能图形转换为软件GLSE 2.0"部分.
Go to the TOOL -> android -> AVD Manager
, and change the settings of your device . Click the section Emulated Performance
Graphics to Software GLSE 2.0.
这篇关于EGL_BAD_MATCH错误Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!