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!

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 Exploring the Master-Detail Template

Frederic Codet
Frederic Codet
8,155 Points

Missing Java files

Not all Java files are created when I use the template to create the Android application.
in src in have the following files under the com.example.masterdetailexample folder: BlogPostListFragment.java i am however missing the 3 other files featured on the video: BlogPostsActivity.java BlogPostDetailsFragment.java BlogPostListActivity.java

2 Answers

You should not be using "Create a new project".

1.) Right click an area of white space within the "project directory" area of the workspace view.

2.) Select import

3.) Find the Android section

4.) Select "Existing Android Code Into Workspace"

5.) Select "Browse" next to the "Root Folder" field

6.) Find the parent folder containing the folder you extracted from the compressed archive you downloaded

7.) Select the checkbox next to the Blog project under "Projects to Import" after it is populated with data

Frederic Codet
Frederic Codet
8,155 Points

Sorry for late reply. thanks very much!