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 Exploring the Master-Detail Template Creating a Project Using the Master-Detail Template

Riley MacDonald
Riley MacDonald
2,542 Points

Master Detail Example Creating Files with Errors

Hi All,

I am trying to follow this video, however after I create my activties the following files are created with errors:

src>com.example.masterdetailexample:

BlogPostDetailActivity.java BlogPostDetailFragment.java BlogPostListActivity.java BlogPostListFragment.java

The steps I followed to create the android application project

Step 1: Minimum Required SDK: API 11: Android 3.0 (Honeycomb) Target SDK: API 16: Android 4.1 (Jelly Bean) --- I have also tried to use API 19 here and I had the same results Compile With: API 17 Android 4.2 (Jelly Bea --- I have also tried to use API 19 here and I had the same results Theme: Holo Light with Dark Action Bar

Step 2: Select Master/Detail Flow from Create Activity screen

Step 3: Object Kind: BlogPost Object Kind Plural: BlogPosts

Other information: I am using the latest Eclipse build + SDK from the Google site (ADT version 23.02.1259578)

Could anyone help me understand how to fix this?

Thanks, Riley

1 Answer

Daniel Hartin
Daniel Hartin
18,106 Points

Unless there has been an update I'm not aware of the adt bundle version 23 is riddled with bugs. Delete the adt bundle on your computer and install version 22.6 which can be found in the first android tutorial section (build a simple crystal ball app) on the tree house website.