java.lang.Error: eglSwapInterval() failed

GitHub | whitecloud-sas | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    unknown native expection

    GitHub | 1 year ago | sirvon
    java.lang.Error: unknown native exception

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.Error

      eglSwapInterval() failed

      at com.mapbox.mapboxsdk.maps.NativeMapView.nativeCreateSurface()
    2. com.mapbox.mapboxsdk
      MapView$SurfaceTextureListener.onSurfaceTextureAvailable
      1. com.mapbox.mapboxsdk.maps.NativeMapView.nativeCreateSurface(Native Method)
      2. com.mapbox.mapboxsdk.maps.NativeMapView.createSurface(NativeMapView.java:116)
      3. com.mapbox.mapboxsdk.maps.MapView$SurfaceTextureListener.onSurfaceTextureAvailable(MapView.java:1362)
      3 frames
    3. Android Platform
      ViewGroup.drawChild
      1. android.view.TextureView.getHardwareLayer(TextureView.java:343)
      2. android.view.ViewGroup.drawChild(ViewGroup.java:2967)
      3. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
      4. android.view.View.draw(View.java:11085)
      5. android.widget.FrameLayout.draw(FrameLayout.java:462)
      6. android.view.View.getDisplayList(View.java:10521)
      7. android.view.ViewGroup.drawChild(ViewGroup.java:2954)
      8. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
      9. android.view.View.getDisplayList(View.java:10519)
      10. android.view.ViewGroup.drawChild(ViewGroup.java:2954)
      11. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
      12. android.view.View.getDisplayList(View.java:10519)
      13. android.view.ViewGroup.drawChild(ViewGroup.java:2954)
      13 frames
    4. android.support.design
      CoordinatorLayout.drawChild
      1. android.support.design.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1132)
      1 frame
    5. Android Platform
      ViewGroup.drawChild
      1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
      2. android.view.View.getDisplayList(View.java:10519)
      3. android.view.ViewGroup.drawChild(ViewGroup.java:2954)
      3 frames
    6. Android Support v4
      DrawerLayout.drawChild
      1. android.support.v4.widget.DrawerLayout.drawChild(DrawerLayout.java:1377)
      1 frame
    7. Android Platform
      FrameLayout.draw
      1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
      2. android.view.View.getDisplayList(View.java:10519)
      3. android.view.ViewGroup.drawChild(ViewGroup.java:2954)
      4. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
      5. android.view.View.draw(View.java:11085)
      6. android.widget.FrameLayout.draw(FrameLayout.java:462)
      7. android.view.View.getDisplayList(View.java:10521)
      8. android.view.ViewGroup.drawChild(ViewGroup.java:2954)
      9. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
      10. android.view.View.getDisplayList(View.java:10519)
      11. android.view.ViewGroup.drawChild(ViewGroup.java:2954)
      12. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
      13. android.view.View.getDisplayList(View.java:10519)
      14. android.view.ViewGroup.drawChild(ViewGroup.java:2954)
      15. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
      16. android.view.View.getDisplayList(View.java:10519)
      17. android.view.ViewGroup.drawChild(ViewGroup.java:2954)
      18. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2593)
      19. android.view.View.draw(View.java:11085)
      20. android.widget.FrameLayout.draw(FrameLayout.java:462)
      20 frames
    8. Android
      PhoneWindow$DecorView.draw
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2145)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.view.View.getDisplayList(View.java:10521)
      2. android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:851)
      3. android.view.ViewRootImpl.draw(ViewRootImpl.java:1910)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1634)
      5. android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442)
      6. android.os.Handler.dispatchMessage(Handler.java:99)
      7. android.os.Looper.loop(Looper.java:137)
      8. android.app.ActivityThread.main(ActivityThread.java:4441)
      8 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
      2 frames
    12. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame