【问题标题】:java.lang.RuntimeException: createContext failed: EGL_SUCCESS Arcgis Androidjava.lang.RuntimeException:createContext 失败:EGL_SUCCESS Arcgis Android
【发布时间】:2019-06-28 06:33:47
【问题描述】:

当我启动具有 Arcgis MapView 的活动时,应用程序一直崩溃,但在特定设备上,例如 Letv Le X509 设备或小米设备。 我得到的日志在下面提到。设备操作系统版本为 6.0。

我的 ArcGIS SDK 版本是 100.3.0

致命异常:java.lang.RuntimeException:createContext 失败:EGL_SUCCESS 在 android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1233) 在 android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1224) 在 android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1074) 在 android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1447) 在 android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)

【问题讨论】:

  • 我也有同样的问题。你找到解决办法了吗?

标签: android arcgis-runtime arcgis-android-api


【解决方案1】:

很遗憾,您的设备可能无法与 ArcGIS Runtime 一起使用。请参阅此论坛主题:

https://community.esri.com/thread/186730-error-createcontext-failed-eglsuccess-when-under-android-422-application-is-started

这是此版本的一个已知问题,尚未在发行说明中找到,我们将尽快更新发行说明。

问题是某些设备没有正确报告其 OpenGL 配置以允许我们创建 OpenGL 上下文。我们需要具体地创建 OpenGL 上下文,以允许我们的许多地图渲染功能正常工作(尤其是矢量平铺层之类的东西)。我们已经实施了适用于大多数设备的解决方案,但在某些设备上仍然存在问题,尤其是运行旧版本 Android 的旧设备。

请在其他设备或模拟器上尝试。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-08
    • 1970-01-01
    • 2016-05-12
    • 2014-09-29
    • 2018-04-27
    相关资源
    最近更新 更多