Error “EGL_BAD_MATCH” in Android Studio emulator

后端 未结 2 1578
孤城傲影
孤城傲影 2021-01-04 21:10

I have one question, what is that?

E/EGL_emulation: tid 3912: eglSurfaceAttrib(1146): error 0x3009 (EGL_BAD_MATCH)

what should I do to res

2条回答
  •  独厮守ぢ
    2021-01-04 21:29

    EGL means Emulated Graphics Library. The Android mobile device operating system uses EGL for 3D graphics rendering. Get more knowledge on EGL from wiki: https://en.wikipedia.org/wiki/EGL_(API)

    When it says EGL_BAD_MATCH, your Emulated Graphics Library is which you/system selected is bad. There are two EGL modes as shown in below pic. .

    Solution: Which mode is giving problem, just change to another mode, it should fix. Be aware that running in software emulation mode may run considerably slower than with hardware emulation mode set. There are cases where errors are thrown (shown) yet the app runs okay. If this is the case, you may want to ignore the errors and enjoy the superior graphics emulation.

提交回复
热议问题