Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Simple Android App (retired 2014) Getting Started with Android Java Variables Explained

Color.java simple for some, but where is the explanation?

Is there some way of finding out the correct answer in the problems without constant trial and error?

3 Answers

Stone Preston
Stone Preston
42,016 Points

other than asking on the forum, no. There are no answers to the code challenges provided. The trial and error/figuring it out for your self is actually a very helpful learning experience. If you are having issues with the challenge can you post the code you are using?

Mr. Preston, I figured out the code required for the post. My biggest problem was that figuring out what I did wrong. There was no insight of what could be missing or what I may have not considered. If some sort of guidance was in place I'm sure it would be much less frustrating.

Stone Preston
Stone Preston
42,016 Points

normally the challenges are very similar to what is covered in the video before the challenge, so if you get stuck usually reviewing the previous video will help.

That's what I did. I will try that if I ever have any more problems but something other than an (incorrect) screen would be great. Thanks Stone.

Stone Preston
Stone Preston
42,016 Points

most of the challenges will usually have an error message that will give you a hint as to what you are doing wrong. some of them dont though and it can be pretty frustrating. its important to note that you can always just skip a challenge if you cant get it. make a post on the forum and ask for help and just continue on with the course in the meantime until someone comes along and helps you out.