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 Build an Interactive Story App (Retired) Intents and Multiple Activities Getting Data from an Intent

Cannot resolve symbol

The two symbols are red for me and i don't know how to not make them be red anymore

I'm not with you here - what's the problem; something in the code or when you run it?

Can you post the code that's causing the problem or a screenshot?

Steve.

1 Answer

Hello,

I'm going to guess(since there's no code) that you either have not imported the class yet or just need to clean the project. To try importing first, click on the unresolved symbol, and hit Alt + Enter. A menu should pop up, select import whatever class name it is asking for. If that doesn't help or it doesn't let you import, try cleaning your project by going to the Build menu and selecting clean project. If neither of those help, we'll need to see your code to provide further assistance.