java.lang.Error: eglSwapInterval() failed

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by bomba1990
, 9 months ago
eglSwapInterval() failed
via GitHub by nikolleto
, 2 months ago
eglCreateWindowSurface() failed
via GitHub by grote
, 9 months ago
eglCreateWindowSurface() failed
via GitHub by nondefyde
, 1 year ago
eglCreateWindowSurface() failed
java.lang.Error: eglSwapInterval() failed
at com.mapbox.mapboxsdk.maps.NativeMapView.nativeCreateSurface(Native Method)
at com.mapbox.mapboxsdk.maps.NativeMapView.createSurface(NativeMapView.java:116)
at com.mapbox.mapboxsdk.maps.MapView$SurfaceTextureListener.onSurfaceTextureAvailable(MapView.java:1362)
at android.view.TextureView.getHardwareLayer(TextureView.java:343)
at android.view.ViewGroup.drawChild(ViewGroup.java:2967)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
at android.view.View.draw(View.java:11085)
at android.widget.FrameLayout.draw(FrameLayout.java:462)
at android.view.View.getDisplayList(View.java:10521)
at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
at android.view.View.getDisplayList(View.java:10519)
at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
at android.view.View.getDisplayList(View.java:10519)
at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
at android.support.design.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1132)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
at android.view.View.getDisplayList(View.java:10519)
at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
at android.view.View.getDisplayList(View.java:10519)
at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
at android.view.View.draw(View.java:11085)
at android.widget.FrameLayout.draw(FrameLayout.java:462)
at android.view.View.getDisplayList(View.java:10521)
at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
at android.view.View.getDisplayList(View.java:10519)
at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
at android.view.View.getDisplayList(View.java:10519)
at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
at android.view.View.getDisplayList(View.java:10519)
at android.view.ViewGroup.drawChild(ViewGroup.java:2954)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
at android.view.View.draw(View.java:11085)
at android.widget.FrameLayout.draw(FrameLayout.java:462)
at android.view.View.getDisplayList(View.java:10521)
at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:851)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:1910)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1634)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4441)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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