java.lang.IllegalStateException: Could not create an EGL context. eglCreateContext failed with error: EGL_SUCCESS

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

It might be that you are using Toast in the wrong way. Make sure you instantiate the objects and set the Toast views properly, if you are using any.

Solutions on the web

via GitHub by blFeedbackBot
, 2 years ago
Could not create an EGL context. eglCreateContext failed with error: EGL_SUCCESS
via GitHub by 2fast2fourier
, 2 years ago
Could not create an EGL context. eglCreateContext failed with error: EGL_SUCCESS
via GitHub by 2fast2fourier
, 2 years ago
Could not create an EGL context. eglCreateContext failed with error: EGL_SUCCESS
via stackexchange.com by Unknown author, 1 year ago
Could not create an EGL context. eglCreateContext failed with error: EGL_SUCCESS
via GitHub by door43app
, 2 years ago
Could not create an EGL context. eglCreateContext failed with error: EGL_SUCCESS
java.lang.IllegalStateException: Could not create an EGL context. eglCreateContext failed with error: EGL_SUCCESS
at android.view.HardwareRenderer$GlRenderer.createContext(HardwareRenderer.java:1192)
at android.view.HardwareRenderer$GlRenderer.initializeEgl(HardwareRenderer.java:1044)
at android.view.HardwareRenderer$GlRenderer.initialize(HardwareRenderer.java:979)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1536)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1004)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5481)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
at android.view.Choreographer.doCallbacks(Choreographer.java:562)
at android.view.Choreographer.doFrame(Choreographer.java:532)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.