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 trialaditya jain
Courses Plus Student 358 PointsIt shows error in mainactivity.java .It does not resolve symbol R
In mainactivity.java there are many places where R is written error shows it does not resolve symbol R .ex:- setContentView(R.layout.activity_main); In this line error shows it does not resolve symbol R
1 Answer
Evan Demaris
64,262 PointsHello aditya,
When you click on the R, it may give you an option to resolve that error with alt+enter.
Hope that helps!