createContext failed: EGL_BAD_CONFIG

Hi there,
I’m trying to run a basic app I wrote based on the OF. But, It crashes for Xiaomi Redmi 6A device. The app just crashes when it’s about to start. But on other devices it works fine.

Device : Xiaomi Redmi 6A
OS : Android 8.1 (Oreo), upgradable to Android 9.0 (Pie); MIUI 11
Chipset : Mediatek MT6761 Helio A22 (12 nm)
CPU : Quad-core 2.0 GHz Cortex-A53
GPU : PowerVR GE8320

For that device I get this error,

2020-01-01 15:23:37.147 3259-3484/? E/AndroidRuntime: FATAL EXCEPTION: GLThread 2402
    Process: com.axis.drawingdesk.v3, PID: 3259
    java.lang.RuntimeException: createContext failed: EGL_BAD_CONFIG
        at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1223)
        at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1214)
        at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1064)
        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1431)
        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1271)