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

Creating the Project & ListActivity

Problem 1: I am getting the error: Failed to load properties file for project 'log'

I named my blogreader android project log.

After creating the project and adding List to "extends ListActivity" in the MainListActivity.java I can no longer launch a Virtual Device Manager or Run as Android Project. The virtual device doesn't pop up.

Problem 2: Once I add the Composite-->ListView I have trouble the Toggle Fill Width and Toggle Fill Height buttons in the Graphical Layout don't work for me. So item 7 on is cutt off at the bottom.

Problem 3: android:id="@android:id/list I am getting error: Your project contains errors, please fix.... The error lies in the src folder, MainListActivity.java. I have small x in line 13 and 19 activity_main_list and main_list is cannot be resolved or is not a field. There is no option to correct these errors

Anyone know how to get these fixed?

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Let's try to tackle these one at a time. :) First, you may have trouble launching your app from Eclipse if one of the XML layouts is currently open in your code editor. Try right-clicking on your project in the Package Explorer and then select Run As > Android Application.

After you try that, let us know if it works or not, and also post in your layout code for problem 2 and your Java code for problem 3. :)