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 Build a Simple Android App Basic Android Programming Adding the OnClick Method

Adam Croskey
Adam Croskey
275 Points

Cant resolve symbol R

The android Studio keeps flagging R saying it vant resolve it

1 Answer

Hey Adam Croskey, it seems like you aren't importing correctly. If you put your cursor over the error, and press alt+enter for a list of intention actions. It should give you the ability to import the correct R file. If you need any more help, please edit your question to include your full code, or link to a gist/repo on github!