EGL_BAD_MATCH error Android Studio
<p>I've just started a new project in Android Studio 2.2.<br>
After I added some lines of code (mainly SQLite), I wanted to compile my masterpiece. And then, this occured:  </p>

<blockquote>
  <p>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.</p>
</blockquote>

<p>Does anyone know what's wrong? :)</p>