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

textview1 option not available in intelisense

hello for some reason when i create my variable and i start typing: "R.id." textview1 does not come up in intellisense here is the section of code i am talking about: TextView answerlabel = findViewById(R.id.);

1 Answer

Andrew Naumann
Andrew Naumann
15,588 Points

Check your (activity_main.xml) that defines your layout to see if you indeed have a TextView with the ID of (android:id="@+id/textView1")

thank you, this was indeed correct how silly of me