Error occurs when the application starts. ArcGis SDK for Anfroid installed in project according to manual on official site.
Next fragment from logcat:
06-14 11:12:11.699 8073-8101/? E/AndroidRuntime: FATAL EXCEPTION: GLThread 332
java.lang.RuntimeException: createContext failed: EGL_SUCCESS
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1197)
at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1188)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1038)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1405)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1244)06-14 11:12:18.039 8136-8167/?
E/fb4a(:<default>):MmsConfig: MmsConfig.loadMmsSettings mms_config.xml missing uaProfUrl setting
Details:
- The application uses ArcGIS Runtime SDK for Android version 100.0.0
- Used ASUS fonepad 7 tablet
- Android 4.2.2 API level 17
- An error when placed in the Activiti MapView elements:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.at.agromap.MainActivity">
<com.esri.arcgisruntime.mapping.view.MapView
android:id="@+id/mapView"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
</com.esri.arcgisruntime.mapping.view.MapView>
</RelativeLayout>
Any ideas?
Solved! Go to Solution.
Hi,
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.
Thanks
Will.
Hi,
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.
Thanks
Will.
Dear sir,
I am also facing this same issue on my Samsung galaxy tab 3 API level 17. But in my Moto G4+ android 7. it is working perfectly. Do you have any suggestion to solve this issue.
Thanks ,
Pranav MS
Will Crick: Has this fix been released yet?
Thanks for your answer. I am going to use version 10.2.8-1 of SDK, it works nice in tests.