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


Rondale Williams
Rondale Williams
1,892 Points

Getting @string resource error and ImageView error

Why does Eclipse keep telling me I need to change the text "Enlighten Me" to string resource?Secondly, the ImageView section of my activity_main xml file keeps telling me that I am "Missing contentDscription attribute on image". Why is that?

1 Answer

Maybe this is not the primary reason we should do that, but this is how I persuaded me when I had to: You don't know if in the future you use the same string and you want to be sure it will be exactly the same as first use. For that case, you can keep the data somewhere else and use whenever you want.

About Image, if you know some HTML, it's like Alt attribute of image (img="" alt=""), Ben explains. Believe me, at least as this Android course goes, you wil never have to care about that caution.