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

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.