AnsweredAssumed Answered

Error createContext failed: EGL_SUCCESS when under Android 4.2.2 application is started

Question asked by aleksb869 on Dec 1, 2016
Latest reply on Jun 13, 2017 by emilof

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?

Outcomes