In Eclipse , Loading HelloWorld sample code into AVD(Level 11) with error

2619
2
07-24-2014 06:16 AM
baohuachu3
New Contributor III

ArcGIS SDK for Android: 10.2.3

Android SDK: Level 11

In eclipse, load the HelloWorld sample code to AVD with the exception message below:

07-24 21:04:15.685: V/TLINE(453): new: android.text.TextLine@405be400

07-24 21:04:15.815: D/libEGL(453): egl.cfg not found, using default config

07-24 21:04:15.815: D/libEGL(453): loaded /system/lib/egl/libGLES_android.so

07-24 21:04:15.825: W/dalvikvm(453): threadid=10: thread exiting with uncaught exception (group=0x40014760)

07-24 21:04:15.895: E/AndroidRuntime(453): FATAL EXCEPTION: GLThread 11

07-24 21:04:15.895: E/AndroidRuntime(453): java.lang.IllegalArgumentException: No configs match configSpec

07-24 21:04:15.895: E/AndroidRuntime(453):  at com.esri.android.map.MapSurface$a.chooseConfig(Unknown Source)

07-24 21:04:15.895: E/AndroidRuntime(453):  at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:981)

07-24 21:04:15.895: E/AndroidRuntime(453):  at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1326)

07-24 21:04:15.895: E/AndroidRuntime(453):  at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1180)

07-24 21:04:16.195: D/dalvikvm(453): GC_CONCURRENT freed 258K, 7% free 5554K/5959K, paused 3ms+21ms

07-24 21:04:17.395: D/dalvikvm(453): GC_CONCURRENT freed 303K, 8% free 5667K/6151K, paused 8ms+2ms

07-24 21:09:15.976: I/Process(453): Sending signal. PID: 453 SIG: 9

Remove MapView objects it can run.

So this is caused by ArcGIS SDK. How to solve it?

0 Kudos
2 Replies
ShellyGill1
Esri Contributor

This looks to be an error to do with OpenGL. In the System Requirements topic of the Guide there's details on the OpenGL requirements - System requirements for 10.2.3—ArcGIS Runtime SDK for Android‌ . As per previous suggestions on the forums you might want to check your emulator setup is appropriate, as described in the blog article originally here ArcGIS Runtime SDK for Android v1.1 supports Android Emulator | ArcGIS Blog and more up to date SDK information here Setting up the Android Emulator for ArcGIS Android development | ArcGIS Blog.

0 Kudos
baohuachu3
New Contributor III

The issue is solved.

Notice:

        1) ArcGIS SDK 10.2.3 support Android SDK Level 10 or above means the application can be deployed on Level10 devices. For developers, it supports Level 15 or above.

       2) Intel Virtual Technlogy should be "enabled" as the blog said. The way to set Virtual Technology "enabled" may be different. Some are in "config" of BIOS, some are on "security" of BIOS.

0 Kudos