Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android

David Alexander
David Alexander
207 Points

Rendering Problems Couldn't resolve resource @string/email_hint

I searched this forum and google, to no avail. I think this is an Android Studio bug, but maybe not. I'm doing the "Creating the Screen Layout" extra credit, and this issue has cropped up. I define my strings correctly, and then select them in the hint property of my editText, and I get this error in the preview. When I run the app on the emulator, it works fine, but the design preview shows errors. I tried clean, rebuild. And I tried relaunching AS completely. No luck. Spent more time on this bug than the whole section heh.

2 Answers

Hello,

According to this stackoverflow post, it is likely just an Android Studio issue and the fastest way around it is to File, Invalidate Caches/Restart. If this doesn't help, please let us know and we can try other things to continue working on this problem.

You're welcome. Have fun with Android development.