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

Daniel Good
PLUS
Daniel Good
Courses Plus Student 1,135 Points

Interactive Story

Hi

My variables ( name, intent) in my storyActivity class are highlighting in purple.

Also the Log.d will not register. It returns as a red fault fault ( will not auto complete).

I am running the latest version of Andriod Studio

If anyone can help it would be appreciated.

1 Answer

Mike D'Aguillo
Mike D'Aguillo
5,475 Points

Hey Daniel would you mind posting a snippet of your code? The Log.d might just be a syntax error but I'm really just guessing without seeing it. Also, take a look at the Markdown Cheatsheet when posting the code to make it more readable for us.

Daniel Good
Daniel Good
Courses Plus Student 1,135 Points

Problem resolved! You where right it was a syntax error ( extra curly brace }). Just one of those things I need to walk away for a day to see it with fresh eyes.

Cheers for taking the time to answer