Stuck Running MJAndroid Tutorial

Put your problem here if it does not fit any of the other categories.

Stuck Running MJAndroid Tutorial

Postby myearling » Thu Dec 31, 2009 8:11 am

Apoligize first as I am new to the Android environment and haven't developed in Eclipse yet. I bought a book that goes through this MJAndroid application. I just imported the project and am trying to run it. As it starts up, I receive a log listed below in the logcat perspective. It is talking about unable to open a file which is causing the application from loading. It includes a google map application in this project, wondering if that could be a problem. I'm assuming it is trying to open file Microjobs.java, but that file is there and available.

Any help would be appreciated. I want to get this running so I can start trying to understand the structure of Android and all of its features.

12-31 00:59:33.969: ERROR/AndroidRuntime(816): Uncaught handler: thread main exiting due to uncaught exception

12-31 00:59:33.999: ERROR/AndroidRuntime(816): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.microjobsinc.mjandroid/com.microjobsinc.mjandroid.MicroJobs}: java.lang.RuntimeException: file open failed

12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.app.ActivityThread.access$1800(ActivityThread.java:112)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.os.Handler.dispatchMessage(Handler.java:99)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.os.Looper.loop(Looper.java:123)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.app.ActivityThread.main(ActivityThread.java:3948)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at java.lang.reflect.Method.invokeNative(Native Method)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at java.lang.reflect.Method.invoke(Method.java:521)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at dalvik.system.NativeStart.main(Native Method)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): Caused by: java.lang.RuntimeException: file open failed
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at dalvik.system.VMDebug.startMethodTracing(Native Method)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.os.Debug.startMethodTracing(Debug.java:363)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.os.Debug.startMethodTracing(Debug.java:311)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at com.microjobsinc.mjandroid.MicroJobs.onCreate(MicroJobs.java:134)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2231)
12-31 00:59:33.999: ERROR/AndroidRuntime(816): ... 11 more


Thanks
myearling
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Dec 31, 2009 7:55 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Alexa [Bot] and 15 guests