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 trialTaylor Everett
281 Pointsin the android beginners course, my code looks exactly like the code in the video, but mine says I have errors?
It is the final step before launching the emulator to see if the button works
2 Answers
Calvin Nix
43,828 PointsTaylor,
What are the errors that you are getting?
Calvin Nix
43,828 PointsAh I have seen that error!
Make sure that you haven't imported Android.R. This started happening to me a lot whenever I started using cmd + O.
Thanks, Calvin
Taylor Everett
281 PointsTaylor Everett
281 PointsThe red lines are under activity_main and textView1. It says activity_main cannot be resolved or is not a field. Same thing for textView1
for the activcity_main it suggests to change it to activity_list_item for the textView1 it gives me 46 different suggestions