I tried my first Android app following the "Tab Layout" sample from developer.android.com. I followed it perfectly (I think), but I changed some names only. It will not start. Just says "...stopped unexpectantly". Tried debugging with DDMS, but dont get anything from the log. Please help. Here is my error log:
08-12 15:06:16.932: DEBUG/SearchDialog(54): launching Intent { act=android.intent.action.MAIN dat=content://applications/applications/qb.v01/qb.v01.QuickBudget flg=0x10000000 (has extras) } 08-12 15:06:16.932: INFO/SearchDialog(54): Starting (uid 10001, com.android.providers.applications) content://applications/applications/qb.v01/qb.v01.QuickBudget#Intent;action=android.intent.action.MAIN;launchFlags=0x10000000;component=com.android.providers.applications/.ApplicationLauncher;S.user_query=;end 08-12 15:06:16.942: INFO/ActivityManager(54): Starting activity: Intent { act=android.intent.action.MAIN dat=content://applications/applications/qb.v01/qb.v01.QuickBudget flg=0x10000000 cmp=com.android.providers.applications/.ApplicationLauncher (has extras) } 08-12 15:06:17.121: INFO/ActivityManager(54): Starting activity: Intent { act=android.intent.action.MAIN flg=0x10200000 cmp=qb.v01/.QuickBudget } 08-12 15:06:17.262: INFO/ActivityManager(54): Start proc qb.v01 for activity qb.v01/.QuickBudget: pid=284 uid=10025 gids={1015} 08-12 15:06:17.432: INFO/jdwp(284): received file descriptor 10 from ADB 08-12 15:06:17.432: INFO/jdwp(284): Ignoring second debugger -- accepting and dropping 08-12 15:06:17.492: DEBUG/ddm-heap(284): Got feature list request 08-12 15:06:17.681: DEBUG/AndroidRuntime(284): Shutting down VM 08-12 15:06:17.681: WARN/dalvikvm(284): threadid=3: thread exiting with uncaught exception (group=0x4001aa28) 08-12 15:06:17.681: ERROR/AndroidRuntime(284): Uncaught handler: thread main exiting due to uncaught exception 08-12 15:06:17.692: ERROR/AndroidRuntime(284): java.lang.RuntimeException: Unable to instantiate application qb.v01.QuickBudget: java.lang.ClassCastException: qb.v01.QuickBudget 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:505) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3862) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at android.app.ActivityThread.access$2800(ActivityThread.java:116) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at android.os.Handler.dispatchMessage(Handler.java:99) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at android.os.Looper.loop(Looper.java:123) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at android.app.ActivityThread.main(ActivityThread.java:4203) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at java.lang.reflect.Method.invokeNative(Native Method) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at java.lang.reflect.Method.invoke(Method.java:521) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at dalvik.system.NativeStart.main(Native Method) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): Caused by: java.lang.ClassCastException: qb.v01.QuickBudget 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at android.app.Instrumentation.newApplication(Instrumentation.java:1033) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at android.app.Instrumentation.newApplication(Instrumentation.java:1018) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:500) 08-12 15:06:17.692: ERROR/AndroidRuntime(284): ... 11 more 08-12 15:06:17.702: INFO/Process(54): Sending signal. PID: 284 SIG: 3 08-12 15:06:17.712: INFO/dalvikvm(284): threadid=7: reacting to signal 3 08-12 15:06:17.712: ERROR/dalvikvm(284): Unable to open stack trace file '/data/anr/traces.txt': Permission denied 08-12 15:06:26.996: WARN/ActivityManager(54): Launch timeout has expired, giving up wake lock! 08-12 15:06:27.042: WARN/ActivityManager(54): Activity idle timeout for HistoryRecord{438d5c68 com.android.providers.applications/.ApplicationLauncher} 08-12 15:06:27.571: WARN/ActivityManager(54): Activity idle timeout for HistoryRecord{4388a230 qb.v01/.QuickBudget}