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

himabatavia
Courses Plus Student 561 PointsWhy do I have errors for android_textColor, android:text and <ImageView in my activity_main.xml finder?
I have three errors which I don't understand:
error: Error: Color value not valid -- must be #rgb, #argb, #rrggbb, or #aarrggbb (at 'textColor' with value '#').
Missing contentDescription attribute on image (under <ImageView)
[I8N] Hardcoded string "Enlighten me!" should @string resource
2 Answers

Nic Huang
Courses Plus Student 10,573 PointsIt means you must use correct format to specify your color. Please refer to this link
When you use imageView, XML file would require you to set content Description. EX: android:contentDescription="@string/content_description_background"
This says don't hardcode your string. Your string must be organized into string.xml for better usage such as internalization. Please refer to this link

himabatavia
Courses Plus Student 561 PointsThanks Nic! I changed them, but then they came up as errors. I guess they were warnings, and then became errors :/