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

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.