Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EGL_BAD_MATCH error Android Studio

Tags:

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): 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? :)

like image 441
Mariachi Avatar asked Nov 12 '16 19:11

Mariachi


2 Answers

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.

enter image description here

like image 63
Oskar Avatar answered Oct 14 '22 20:10

Oskar


go to the AVD Manager and change the settings of your device. E.g the on the section "Emulated Performance" -> Graphics to Hardware GLSE 2.0.

Greetings

like image 28
Zippy Avatar answered Oct 14 '22 20:10

Zippy