Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Blog Reader Android App Using Intents to Display and Share Posts Opening a Webpage in the Browser

8 Answers

chandlerknaus
chandlerknaus
1,635 Points

It would be easier if I had your computer to tell you whats wrong sorry :/.. Maybe try to save and create a new project and run something simple such as the fancy "Hello World" and see if it works. If that does not work you could save all your code to a text document and just redownload Android Studio. Sorry if I am not much of a help.

chandlerknaus
chandlerknaus
1,635 Points

Put 3 on the top and bottom line so its easier to read the errors or code.. Put 3 and click enter.. paste the errors or code.. enter and 3 more `

chandlerknaus
chandlerknaus
1,635 Points

Sorry Ricky I have not been on. The picture is private so I cant help you.. What you can do tho is put 3 ` (Left of the 1) on the line above and below and put your code in the middle and I will be able to help you :)

chandlerknaus
chandlerknaus
1,635 Points

Are there any errors in your code? Refresh the app (Top left next to save) and see if that works.

Ricky Sparks
Ricky Sparks
22,249 Points

10-21 20:19:07.110 892-892/com.patriothighschool.rickyjames1750.blogreader D/dalvikvm﹕ Not late-enabling CheckJNI (already on) 10-21 20:19:27.460 892-892/com.patriothighschool.rickyjames1750.blogreader D/dalvikvm﹕ GC_FOR_ALLOC freed 60K, 10% free 3452K/3804K, paused 1803ms, total 1810ms 10-21 20:19:30.830 892-892/com.patriothighschool.rickyjames1750.blogreader D/dalvikvm﹕ GC_FOR_ALLOC freed 3K, 9% free 3670K/4028K, paused 417ms, total 419ms 10-21 20:19:31.000 892-892/com.patriothighschool.rickyjames1750.blogreader I/dalvikvm-heap﹕ Grow heap (frag case) to 6.282MB for 2536936-byte allocation 10-21 20:19:32.300 892-901/com.patriothighschool.rickyjames1750.blogreader D/dalvikvm﹕ GC_FOR_ALLOC freed <1K, 6% free 6147K/6508K, paused 1291ms, total 1292ms 10-21 20:19:33.880 892-892/com.patriothighschool.rickyjames1750.blogreader D/AndroidRuntime﹕ Shutting down VM 10-21 20:19:33.880 892-892/com.patriothighschool.rickyjames1750.blogreader W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0xb1a21ba8) 10-21 20:19:33.940 892-892/com.patriothighschool.rickyjames1750.blogreader E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.patriothighschool.rickyjames1750.blogreader, PID: 892 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.patriothighschool.rickyjames1750.blogreader/com.patriothighschool.rickyjames1750.blogreader.MainListActivity}: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) at android.app.ActivityThread.access$800(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' at android.app.ListActivity.onContentChanged(ListActivity.java:243) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:293) at android.app.Activity.setContentView(Activity.java:1929) at com.patriothighschool.rickyjames1750.blogreader.MainListActivity.onCreate(MainListActivity.java:52) at android.app.Activity.performCreate(Activity.java:5231) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)             at android.app.ActivityThread.access$800(ActivityThread.java:135)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:136)             at android.app.ActivityThread.main(ActivityThread.java:5017)             at java.lang.reflect.Method.invokeNative(Native Method)             at java.lang.reflect.Method.invoke(Method.java:515)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)             at dalvik.system.NativeStart.main(Native Method) 10-21 20:24:35.450 892-892/com.patriothighschool.rickyjames1750.blogreader I/Process﹕ Sending signal. PID: 892 SIG: 9 10-21 20:28:18.650 1126-1126/com.patriothighschool.rickyjames1750.blogreader D/dalvikvm﹕ GC_FOR_ALLOC freed 49K, 10% free 3452K/3796K, paused 494ms, total 500ms 10-21 20:28:21.030 1126-1126/com.patriothighschool.rickyjames1750.blogreader D/dalvikvm﹕ GC_FOR_ALLOC freed 3K, 9% free 3670K/4020K, paused 225ms, total 226ms 10-21 20:28:21.230 1126-1126/com.patriothighschool.rickyjames1750.blogreader I/dalvikvm-heap﹕ Grow heap (frag case) to 6.282MB for 2536936-byte allocation 10-21 20:28:21.350 1126-1135/com.patriothighschool.rickyjames1750.blogreader D/dalvikvm﹕ GC_FOR_ALLOC freed <1K, 6% free 6147K/6500K, paused 111ms, total 111ms 10-21 20:28:22.140 1126-1126/com.patriothighschool.rickyjames1750.blogreader D/AndroidRuntime﹕ Shutting down VM 10-21 20:28:22.140 1126-1126/com.patriothighschool.rickyjames1750.blogreader W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0xb1a21ba8) 10-21 20:28:22.200 1126-1126/com.patriothighschool.rickyjames1750.blogreader E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.patriothighschool.rickyjames1750.blogreader, PID: 1126 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.patriothighschool.rickyjames1750.blogreader/com.patriothighschool.rickyjames1750.blogreader.MainListActivity}: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) at android.app.ActivityThread.access$800(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' at android.app.ListActivity.onContentChanged(ListActivity.java:243) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:293) at android.app.Activity.setContentView(Activity.java:1929) at com.patriothighschool.rickyjames1750.blogreader.MainListActivity.onCreate(MainListActivity.java:52) at android.app.Activity.performCreate(Activity.java:5231) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)             at android.app.ActivityThread.access$800(ActivityThread.java:135)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:136)             at android.app.ActivityThread.main(ActivityThread.java:5017)             at java.lang.reflect.Method.invokeNative(Native Method)             at java.lang.reflect.Method.invoke(Method.java:515)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)             at dalvik.system.NativeStart.main(Native Method) 10-21 20:28:27.240 1126-1126/com.patriothighschool.rickyjames1750.blogreader I/Process﹕ Sending signal. PID: 1126 SIG: 9