s2mambau

Error run the project in emulator

Discussion created by s2mambau on Dec 14, 2013
Hi, i new in this environment. I'm using SDK 10.2. I follow all the instruction in the tutorial. When i rum my project in emulator, my project stopped. This is my error log.

12-14 20:23:44.800: W/linker(980): libruntimecore_java.so has text relocations. This is wasting memory and is a security risk. Please fix.
12-14 20:23:45.720: D/dalvikvm(980): Added shared lib /data/app-lib/com.esri.arcgis.android.samples.helloworld-1/libruntimecore_java.so 0xb3d96880
12-14 20:24:46.262: D/AndroidRuntime(980): Shutting down VM
12-14 20:24:46.262: W/dalvikvm(980): threadid=1: thread exiting with uncaught exception (group=0xb3aceb90)
12-14 20:24:46.292: E/AndroidRuntime(980): FATAL EXCEPTION: main
12-14 20:24:46.292: E/AndroidRuntime(980): Process: com.esri.arcgis.android.samples.helloworld, PID: 980
12-14 20:24:46.292: E/AndroidRuntime(980): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.esri.arcgis.android.samples.helloworld/com.esri.arcgis.android.samples.helloworld.HelloWorldActivity}: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.android.map.MapView
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2176)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2226)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.ActivityThread.access$700(ActivityThread.java:135)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1397)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.os.Handler.dispatchMessage(Handler.java:102)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.os.Looper.loop(Looper.java:137)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.ActivityThread.main(ActivityThread.java:4998)
12-14 20:24:46.292: E/AndroidRuntime(980):  at java.lang.reflect.Method.invokeNative(Native Method)
12-14 20:24:46.292: E/AndroidRuntime(980):  at java.lang.reflect.Method.invoke(Method.java:515)
12-14 20:24:46.292: E/AndroidRuntime(980):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
12-14 20:24:46.292: E/AndroidRuntime(980):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
12-14 20:24:46.292: E/AndroidRuntime(980):  at dalvik.system.NativeStart.main(Native Method)
12-14 20:24:46.292: E/AndroidRuntime(980): Caused by: android.view.InflateException: Binary XML file line #9: Error inflating class com.esri.android.map.MapView
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.view.LayoutInflater.createView(LayoutInflater.java:620)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
12-14 20:24:46.292: E/AndroidRuntime(980):  at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:290)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.Activity.setContentView(Activity.java:1928)
12-14 20:24:46.292: E/AndroidRuntime(980):  at com.esri.arcgis.android.samples.helloworld.HelloWorldActivity.onCreate(HelloWorldActivity.java:17)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.Activity.performCreate(Activity.java:5243)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2140)
12-14 20:24:46.292: E/AndroidRuntime(980):  ... 11 more
12-14 20:24:46.292: E/AndroidRuntime(980): Caused by: java.lang.reflect.InvocationTargetException
12-14 20:24:46.292: E/AndroidRuntime(980):  at java.lang.reflect.Constructor.constructNative(Native Method)
12-14 20:24:46.292: E/AndroidRuntime(980):  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.view.LayoutInflater.createView(LayoutInflater.java:594)
12-14 20:24:46.292: E/AndroidRuntime(980):  ... 22 more
12-14 20:24:46.292: E/AndroidRuntime(980): Caused by: java.lang.NullPointerException
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.os.Parcel.readException(Parcel.java:1467)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.os.Parcel.readException(Parcel.java:1415)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.os.storage.IMountService$Stub$Proxy.mkdirs(IMountService.java:750)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.ContextImpl.ensureDirsExistOrFilter(ContextImpl.java:2160)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.ContextImpl.getExternalCacheDirs(ContextImpl.java:916)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.app.ContextImpl.getExternalCacheDir(ContextImpl.java:905)
12-14 20:24:46.292: E/AndroidRuntime(980):  at android.content.ContextWrapper.getExternalCacheDir(ContextWrapper.java:235)
12-14 20:24:46.292: E/AndroidRuntime(980):  at com.esri.android.io.a.a(Unknown Source)
12-14 20:24:46.292: E/AndroidRuntime(980):  at com.esri.android.map.MapSurface.<init>(Unknown Source)
12-14 20:24:46.292: E/AndroidRuntime(980):  at com.esri.android.map.MapView.a(Unknown Source)
12-14 20:24:46.292: E/AndroidRuntime(980):  at com.esri.android.map.MapView.<init>(Unknown Source) 

Please someone kindly help me. Did i miss someting or i'm doing it a wrong way.
Thank

Outcomes