Cant start SampleApp
All i want to just start and see whats in the sample app . In order to do this , i added API 1.1 Jar file to 2.3 Sample Project and Run it on Genymotion API 19 Android Emulator However i got this error
11-20 02:46:13.831: E/AndroidRuntime(1436): FATAL EXCEPTION: main
11-20 02:46:13.831: E/AndroidRuntime(1436): Process: com.mbientlab.metawear.app, PID: 1436
11-20 02:46:13.831: E/AndroidRuntime(1436): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mbientlab.metawear.app/com.mbientlab.metawear.app.ModuleListActivity}: java.lang.NullPointerException
11-20 02:46:13.831: E/AndroidRuntime(1436): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
11-20 02:46:13.831: E/AndroidRuntime(1436): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
11-20 02:46:13.831: E/AndroidRuntime(1436): at android.app.ActivityThread.access$800(ActivityThread.java:135)
11-20 02:46:13.831: E/AndroidRuntime(1436): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
11-20 02:46:13.831: E/AndroidRuntime(1436): at android.os.Handler.dispatchMessage(Handler.java:102)
11-20 02:46:13.831: E/AndroidRuntime(1436): at android.os.Looper.loop(Looper.java:136)
11-20 02:46:13.831: E/AndroidRuntime(1436): at android.app.ActivityThread.main(ActivityThread.java:5017)
11-20 02:46:13.831: E/AndroidRuntime(1436): at java.lang.reflect.Method.invokeNative(Native Method)
11-20 02:46:13.831: E/AndroidRuntime(1436): at java.lang.reflect.Method.invoke(Method.java:515)
11-20 02:46:13.831: E/AndroidRuntime(1436): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
11-20 02:46:13.831: E/AndroidRuntime(1436): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
11-20 02:46:13.831: E/AndroidRuntime(1436): at dalvik.system.NativeStart.main(Native Method)
11-20 02:46:13.831: E/AndroidRuntime(1436): Caused by: java.lang.NullPointerException
11-20 02:46:13.831: E/AndroidRuntime(1436): at com.mbientlab.metawear.app.ModuleActivity.onCreate(ModuleActivity.java:78)
11-20 02:46:13.831: E/AndroidRuntime(1436): at com.mbientlab.metawear.app.ModuleListActivity.onCreate(ModuleListActivity.java:65)
11-20 02:46:13.831: E/AndroidRuntime(1436): at android.app.Activity.performCreate(Activity.java:5231)
11-20 02:46:13.831: E/AndroidRuntime(1436): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
I that because of its emulator ?
This discussion has been closed.
Comments