gpt4 book ai didi

android - java.lang.RuntimeException : createContext failed: EGL_SUCCESS Arcgis Android 错误

转载 作者:行者123 更新时间:2023-11-29 02:22:28 25 4
gpt4 key购买 nike

当我启动具有 Arcgis MapView 的 Activity 时,该应用程序一直崩溃,但在特定设备(例如 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)

最佳答案

不幸的是,您的设备可能不支持 ArcGIS Runtime。请参阅此论坛主题:

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

This is a known issue for this release that has not found its way into the release notes yet, we will update the release notes soon.

The issue is that some devices do not correctly report their OpenGL configurations to allow us to create our OpenGL context. We need to be specific in creating the OpenGL context to allow many of our map rendering features to work properly (particularly for things like Vector Tiled Layers). We have implemented a solution which works on most devices, but it will still be problematic on some, especially older devices running older versions of Android.

Please try on another device or the emulator.

关于android - java.lang.RuntimeException : createContext failed: EGL_SUCCESS Arcgis Android 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54517494/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com