How to avoid EGL_SUCCESS error?

3584
10
12-30-2019 04:30 PM
NathanMellor
Occasional Contributor

The following exception occurs in crash reports often in 100.6 (and many versions before that).

Fatal Exception: java.lang.RuntimeException: createContext failed: EGL_SUCCESS
       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)

This occurs in crash reports for the following manufacturers:

Xiaomi 35%

TCL 26%

TECHNO MOBILE LIMITED 13%

Alcatel 10%

UMIDIGI 4%

HMD Global 2%

Previous discussions about this indicate that it is some kind of misconfiguration of the graphics profile and that it is the device's fault.

It is a fatal exception. The users of these brands are dead in the water. The app does not start at all. Ever.

How would I work around it? How can I make the configuration correct so it doesn't crash?

0 Kudos
10 Replies
DuncanMenzies
New Contributor

I can also confirm this crash occurs on the WIKO View 3 (W-P311-OPE).

Our Android App is running ArcGIS 100.7 and using the Android X Libs.

Fatal Exception: java.lang.RuntimeException: createContext failed: EGL_SUCCESS
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1224)
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1215)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1065)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1434)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1274)

0 Kudos