francesco811

Sample android error "unfortunatly app has stoped"

Discussion created by francesco811 on Jun 7, 2014
Hello to all.
I'm new in developing android app.
I downloaded the examples of the resource center and I loaded them into eclipse.
For example Basicmap and FragmentManagment.
I'm running applications directly on my asus tablet pad transform tf300tg, but every time I launch the application I get this message:
"unfortunatly app has stoped" and this is the error log
[HTML]
06-07 13:38:04.266: W/dalvikvm(5261): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/esri/android/map/MapSurface;
06-07 13:38:04.266: D/AndroidRuntime(5261): Shutting down VM
06-07 13:38:04.266: W/dalvikvm(5261): threadid=1: thread exiting with uncaught exception (group=0x417dc930)
06-07 13:38:04.346: E/AndroidRuntime(5261): FATAL EXCEPTION: main
06-07 13:38:04.346: E/AndroidRuntime(5261): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.arcgis.android.tutorial.basemaps/com.arcgis.android.tutorial.basemaps.BasemapsActivity}: android.view.InflateException: Binary XML file line #10: Error inflating class com.esri.android.map.MapView
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.app.ActivityThread.access$600(ActivityThread.java:141)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.os.Handler.dispatchMessage(Handler.java:99)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.os.Looper.loop(Looper.java:137)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.app.ActivityThread.main(ActivityThread.java:5039)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at java.lang.reflect.Method.invokeNative(Native Method)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at java.lang.reflect.Method.invoke(Method.java:511)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at dalvik.system.NativeStart.main(Native Method)
06-07 13:38:04.346: E/AndroidRuntime(5261): Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class com.esri.android.map.MapView
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.view.LayoutInflater.createView(LayoutInflater.java:613)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.app.Activity.setContentView(Activity.java:1881)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at com.arcgis.android.tutorial.basemaps.BasemapsActivity.onCreate(BasemapsActivity.java:54)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.app.Activity.performCreate(Activity.java:5104)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
06-07 13:38:04.346: E/AndroidRuntime(5261):  ... 11 more
06-07 13:38:04.346: E/AndroidRuntime(5261): Caused by: java.lang.reflect.InvocationTargetException
06-07 13:38:04.346: E/AndroidRuntime(5261):  at java.lang.reflect.Constructor.constructNative(Native Method)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at android.view.LayoutInflater.createView(LayoutInflater.java:587)
06-07 13:38:04.346: E/AndroidRuntime(5261):  ... 22 more
06-07 13:38:04.346: E/AndroidRuntime(5261): Caused by: java.lang.ExceptionInInitializerError
06-07 13:38:04.346: E/AndroidRuntime(5261):  at com.esri.android.map.MapView.a(Unknown Source)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at com.esri.android.map.MapView.<init>(Unknown Source)
06-07 13:38:04.346: E/AndroidRuntime(5261):  ... 25 more
06-07 13:38:04.346: E/AndroidRuntime(5261): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load runtimecore_java from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.arcgis.android.tutorial.basemaps-1.apk,libraryPath=/data/app-lib/com.arcgis.android.tutorial.basemaps-1]: findLibrary returned null
06-07 13:38:04.346: E/AndroidRuntime(5261):  at java.lang.Runtime.loadLibrary(Runtime.java:365)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at java.lang.System.loadLibrary(System.java:535)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at com.esri.core.internal.RuntimeHelper.a(Unknown Source)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at com.esri.core.internal.RuntimeHelper.initialize(Unknown Source)
06-07 13:38:04.346: E/AndroidRuntime(5261):  at com.esri.android.map.MapSurface.<clinit>(Unknown Source)
06-07 13:38:04.346: E/AndroidRuntime(5261):  ... 27 more
[/HTML]
the same thing happens to me even in the emulator
Can you help me please
thank you very much
greetings

Outcomes