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

General Discussion

app wont run on emulater

in the fragment_main.xml it has an error of:

[I18N] Hardcoded string "The answer is YES", should use @string resource

could this be the problem?

2 Answers

That's hardcorded string is a warning. It won't stop ur app from running on the emulator as I know.
Reset your emulator by going to DDMS -> View Menu -> Reset adb

try in fragment_main.xml using: "@string/The answer is YES"

and make sure you are also initiating the string in res>values>strings,xml using: <string name="The answer is YES"> Settings</strings>

useful article: http://developer.android.com/guide/topics/resources/string-resource.html

Make sure you use a lowercase s in @string... that's what was throwing me off.....