davidgun

unfortunately Routing task Sample has stopped

Discussion created by davidgun on Dec 11, 2013
Latest reply on Dec 26, 2013 by ESoekianto-esristaff
like the title said, when i am trying to run sample code about routing task , the running process is going smoothly until the Android emu appears and shows "Unfortunately routing task sample has stopped"

[ATTACH=CONFIG]29791[/ATTACH]

and when i look into the log cat, it shows:

12-12 00:43:40.256: E/AndroidRuntime(809): FATAL EXCEPTION: main
12-12 00:43:40.256: E/AndroidRuntime(809): java.lang.UnsatisfiedLinkError: Couldn't load runtimecore_java from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.esri.arcgis.android.samples.routing-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.esri.arcgis.android.samples.routing-1, /system/lib]]]: findLibrary returned null
12-12 00:43:40.256: E/AndroidRuntime(809):  at java.lang.Runtime.loadLibrary(Runtime.java:355)
12-12 00:43:40.256: E/AndroidRuntime(809):  at java.lang.System.loadLibrary(System.java:525)
12-12 00:43:40.256: E/AndroidRuntime(809):  at com.esri.core.internal.util.e$1.initialize(Unknown Source)
12-12 00:43:40.256: E/AndroidRuntime(809):  at com.esri.core.geometry.GeometryEngine.a(Unknown Source)
12-12 00:43:40.256: E/AndroidRuntime(809):  at com.esri.core.geometry.GeometryEngine.<clinit>(Unknown Source)
12-12 00:43:40.256: E/AndroidRuntime(809):  at com.esri.core.geometry.SpatialReference.<clinit>(Unknown Source)
12-12 00:43:40.256: E/AndroidRuntime(809):  at com.esri.arcgis.android.samples.routing.RoutingSample.<init>(RoutingSample.java:86)
12-12 00:43:40.256: E/AndroidRuntime(809):  at java.lang.Class.newInstanceImpl(Native Method)
12-12 00:43:40.256: E/AndroidRuntime(809):  at java.lang.Class.newInstance(Class.java:1130)
12-12 00:43:40.256: E/AndroidRuntime(809):  at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
12-12 00:43:40.256: E/AndroidRuntime(809):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2128)
12-12 00:43:40.256: E/AndroidRuntime(809):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
12-12 00:43:40.256: E/AndroidRuntime(809):  at android.app.ActivityThread.access$600(ActivityThread.java:141)
12-12 00:43:40.256: E/AndroidRuntime(809):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
12-12 00:43:40.256: E/AndroidRuntime(809):  at android.os.Handler.dispatchMessage(Handler.java:99)
12-12 00:43:40.256: E/AndroidRuntime(809):  at android.os.Looper.loop(Looper.java:137)
12-12 00:43:40.256: E/AndroidRuntime(809):  at android.app.ActivityThread.main(ActivityThread.java:5103)
12-12 00:43:40.256: E/AndroidRuntime(809):  at java.lang.reflect.Method.invokeNative(Native Method)
12-12 00:43:40.256: E/AndroidRuntime(809):  at java.lang.reflect.Method.invoke(Method.java:525)
12-12 00:43:40.256: E/AndroidRuntime(809):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
12-12 00:43:40.256: E/AndroidRuntime(809):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
12-12 00:43:40.256: E/AndroidRuntime(809):  at dalvik.system.NativeStart.main(Native Method)


any idea how to solve it? all the process from installing the Apk is success , but when it open the app, program stopped...

Thanks

Attachments

Outcomes