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

Richard Luick
Richard Luick
10,955 Points

resource cannot be resolved or is not a field

So I have been working through the Self Destructing Message App without any issues thus far. I was at the point where I was simply adding the login error message to the strings.xml file. When it was added, eclipse seemed to have trouble bringing the resource over to the java file. I restarted Eclipse to see if the would fix it and when I did, every single resource had the "cannot be resolved or is not a field" error including the layouts! I literally changed nothing to the code and suddenly everything was broken. I tried the clean/rebuild thing with no success and I exhausted every forum I could find online. Everything was going so smoothly until now and I cannot even fathom what is going on. Any help with this is greatly appreciated as I cannot move on otherwise. I can post any code of needed. Thanks.