gelballesteros

Can´t make Hello World run

Discussion created by gelballesteros on May 21, 2013
Latest reply on May 21, 2013 by gelballesteros
Hello,

I´m new at ArcGIS SDK and I´m trying to run the Hello World sample in an Android device (version 4.1.2), but I´m getting this error message:

FATAL EXCEPTION: main
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 #9: Error inflating class com.esri.android.map.MapView
  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2110)
  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
  at android.app.ActivityThread.access$700(ActivityThread.java:140)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:137)
  at android.app.ActivityThread.main(ActivityThread.java:4921)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
  at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.android.map.MapView
  at android.view.LayoutInflater.createView(LayoutInflater.java:613)
  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
  at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
  at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
  at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
  at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
  at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:313)
  at android.app.Activity.setContentView(Activity.java:1924)
  at com.esri.arcgis.android.samples.helloworld.HelloWorld.onCreate(HelloWorld.java:42)
  at android.app.Activity.performCreate(Activity.java:5206)
  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)
  ... 11 more
Caused by: java.lang.reflect.InvocationTargetException
  at java.lang.reflect.Constructor.constructNative(Native Method)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
  at android.view.LayoutInflater.createView(LayoutInflater.java:587)
  ... 22 more
Caused by: java.lang.ExceptionInInitializerError
  at com.esri.android.map.MapView.a(Unknown Source)
  at com.esri.android.map.MapView.<init>(Unknown Source)
  ... 25 more
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load runtimecore_java: findLibrary returned null
  at java.lang.Runtime.loadLibrary(Runtime.java:365)
  at java.lang.System.loadLibrary(System.java:535)
  at com.esri.core.internal.util.e$1.initialize(Unknown Source)
  at com.esri.android.io.a.a(Unknown Source)
  at com.esri.android.map.MapSurface.<clinit>(Unknown Source)
  ... 27 more

Can anyone help me, please?

Thank you very much!

Outcomes