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


Eclipse Problems

I have had a lot of problems when using Eclipse.1. It says that "layout can not be resolved or is not a field" 2. It also says that "menu can not be resolved or is not a field" which both 1 and 2 are from the starting code 3. When creating an AVD i select everything but when I put in the target it says "Please insert a target" and it does not let me start.

1 Answer

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Copying my answer from your earlier question (that I just answered a little while ago):

Those "cannot be resolved" errors means that something in your generated code has gone awry. Usually it's a problem with R.java that gets generated when you build your project. It's built from the files in your "res" directory. It could be a problem with one of those files, but in your case it sounds like maybe something just got out of sync in Eclipse. Maybe try some of the solutions listed here? http://stackoverflow.com/q/885009/475217