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
Travis Bentz
640 PointsWhere do I find the capitalized R in Resource Class?
Generated Resource Class (R) is not in my project view files. In following the videos, I am instructed to go to Source folder, r, then find the capital R. I do not have this in my folder, thus entering the code manually, doesn't work for me either. TextView factlabel = findViewByIdR.id.;
No Resource Class that Android is supposed to automatically generate for me
2 Answers
faraz
Courses Plus Student 21,474 PointsTry going to Tools -> Android -> Sync Project with Android Files and then going to Build -> Clean Project. Then go to File -> Invalidate Caches / Restart. If it still doesn't work, uninstall your current version of Android Studio and download and install the latest version from https://developer.android.com/sdk/index.html
Travis Bentz
640 PointsFauz, Worked. Thanks.
faraz
Courses Plus Student 21,474 PointsNo problem! Glad I could help. :)