Andriod export error with logcat output

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By code

i try exporting my game to my android game it installed but does not open so i try to get the error massage through android studio logcat
the problem is i dont understand the error message at all so i hope that u guys should pls help me to figure the problem the error message goes like this

  --------- beginning of crash
08-09 21:33:28.037 29344-29359/org.godotengine.brave E/AndroidRuntime: FATAL EXCEPTION: GLThread 5045
    Process: org.godotengine.brave, PID: 29344
    java.lang.RuntimeException: createContext failed: EGL_SUCCESS
        at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1245)
        at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1236)
        at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1086)
        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1462)
        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1299)

thanks

Looks like the engine failed to create the OpenGL context. Perhaps your device doesn’t support the required OpenGL version? Godot 3.0 requires GLES3.

Zylann | 2018-08-10 12:51

Pls what am I going to do to correct it

code | 2018-08-10 12:55

I don’t know, but first I would check if your device supports OppenGL ES 3.

Zylann | 2018-08-10 18:47

My phone is using android 7.0(norgat) and I think it support open gl 3.2
Is there nothing I can correct on the Godot engine or my PC itself

code | 2018-08-11 06:48

I don’t know.
Two people had the same issue on Github, and it appears to be GLES3 incompatibility:

Android export error with logcat output · Issue #20909 · godotengine/godot · GitHub

https://github.com/godotengine/godot/issues/18048

But if you can certify with proof that your device is supposed to support GLES3, that would be either a bug in Godot or a really crappy driver (common thing on mobiles, sadly).

Zylann | 2018-08-11 12:43

Thank have read through the issues on github I think I will just wait for version3.1 although this is sad hopefully they will have fixed it then

code | 2018-08-11 13:07