j.kowalczyk

Working on ARM, not working on Intel Atom (x86)...

Discussion created by j.kowalczyk on Feb 11, 2013
Latest reply on Dec 4, 2013 by rhewlett
Hi, is there is some way to run Sample Applications on Emulator with x86 chipset (which on virtualized machines is so much faster than ARM)?
Those applications are working on ARM, but not working on Intel... Don't know why.
In running sample of HelloWorld App LogCat shows me:
02-12 07:59:17.647: E/AndroidRuntime(1303): FATAL EXCEPTION: main
02-12 07:59:17.647: E/AndroidRuntime(1303): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.esri.arcgis.android.samples.helloworld/com.esri.arcgis.android.samples.helloworld.HelloWorld}: android.view.InflateException: Binary XML file line #7: Error inflating class com.esri.android.map.MapView
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.os.Handler.dispatchMessage(Handler.java:99)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.os.Looper.loop(Looper.java:130)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.app.ActivityThread.main(ActivityThread.java:3683)
02-12 07:59:17.647: E/AndroidRuntime(1303): at java.lang.reflect.Method.invokeNative(Native Method)
02-12 07:59:17.647: E/AndroidRuntime(1303): at java.lang.reflect.Method.invoke(Method.java:507)
02-12 07:59:17.647: E/AndroidRuntime(1303): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
02-12 07:59:17.647: E/AndroidRuntime(1303): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
02-12 07:59:17.647: E/AndroidRuntime(1303): at dalvik.system.NativeStart.main(Native Method)
02-12 07:59:17.647: E/AndroidRuntime(1303): Caused by: android.view.InflateException: Binary XML file line #7: Error inflating class com.esri.android.map.MapView
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.view.LayoutInflater.createView(LayoutInflater.java:518)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
02-12 07:59:17.647: E/AndroidRuntime(1303): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:207)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.app.Activity.setContentView(Activity.java:1657)
02-12 07:59:17.647: E/AndroidRuntime(1303): at com.esri.arcgis.android.samples.helloworld.HelloWorld.onCreate(HelloWorld.java:94)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
02-12 07:59:17.647: E/AndroidRuntime(1303): ... 11 more
02-12 07:59:17.647: E/AndroidRuntime(1303): Caused by: java.lang.reflect.InvocationTargetException
02-12 07:59:17.647: E/AndroidRuntime(1303): at java.lang.reflect.Constructor.constructNative(Native Method)
02-12 07:59:17.647: E/AndroidRuntime(1303): at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
02-12 07:59:17.647: E/AndroidRuntime(1303): at android.view.LayoutInflater.createView(LayoutInflater.java:505)
02-12 07:59:17.647: E/AndroidRuntime(1303): ... 21 more
02-12 07:59:17.647: E/AndroidRuntime(1303): Caused by: java.lang.ExceptionInInitializerError
02-12 07:59:17.647: E/AndroidRuntime(1303): at com.esri.android.map.MapView.a(Unknown Source)
02-12 07:59:17.647: E/AndroidRuntime(1303): at com.esri.android.map.MapView.<init>(Unknown Source)
02-12 07:59:17.647: E/AndroidRuntime(1303): ... 24 more
02-12 07:59:17.647: E/AndroidRuntime(1303): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load GLMapCore: findLibrary returned null
02-12 07:59:17.647: E/AndroidRuntime(1303): at java.lang.Runtime.loadLibrary(Runtime.java:429)
02-12 07:59:17.647: E/AndroidRuntime(1303): at java.lang.System.loadLibrary(System.java:554)
02-12 07:59:17.647: E/AndroidRuntime(1303): at com.esri.android.a.a.a(Unknown Source)
02-12 07:59:17.647: E/AndroidRuntime(1303): at com.esri.android.map.MapSurface.<clinit>(Unknown Source)
02-12 07:59:17.647: E/AndroidRuntime(1303): ... 26 more

, but on ARM works fine.

Outcomes