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 a Simple Android App (retired 2014) Getting Started with Android Java Variables Explained

i do not under stand what its asking me to do

could I have a little bit of help, if not its okay

1 Answer

Justin Horner
Justin Horner
Treehouse Guest Teacher

Hello Cody,

The challenge is asking you to take the provided line of code that is invalid and make it valid as well as placing your favorite color as a string assignment.

The line provided has some issues, such as the type and variable name being in the wrong place.

I hope this helps. If not let me know and I'll help further.