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

Intellisense isn't working

I'm working on the Crystal Ball app, and intellisense doesn't provide any suggestions. Hitting Control + space says that there are no suggestions, as well. Any suggestions? I have already gone into Windows > Preferences > Java > Editor > Content Assist > Advanced and checked off the boxes there.

Update: Started the app over again, and I have suggestions on. However, the textView that I need to insert after R.id. doesn't show up in the suggestions list.

Update: After restarting AGAIN, textView1 is now in the suggestions box, but it doesn't change to blue italics when selected. After screwing around a bit, I wound up with TextView answerLabel = (TextView) findViewById(R.id.textView1); however, after the = is yellow underlined. No clue what's going on. I followed the video to a T but I have to troubleshoot literally every step. Is the android development track outdated or something?

Multiple errors: R.id cannot be resolved to a variable, TextView cannot be resolved to a type.

2 Answers

Asegurarse de que tu "R.id" este importando el paquete de tu aplicación ! Si el "Intellisense" no funciona , lo mas seguro es debido a un error en el "xml" de la vista de tu layout .

Saludos . Un consejo , trata de incluir una imagen en tus preguntas.

I actually figured it out, thanks!