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 (2014) Improving Our Code Adding More Colors

int colorAsInt = Color.parseColor(color); I still have (color) error I dont know what wrong

int colorAsInt = Color.parseColor(color); here is a problem this lane

Derrick Shepherd
Derrick Shepherd
4,861 Points

Hi Juozas, You may want to also post your code so others can see where the error might be in your code.

1 Answer

Michael Farber
Michael Farber
1,103 Points

Hi Jouzas, if you look in the catalog you can see a red error message with a blue link to where the bug is. Usually the cause of the problem is written in the same line (of the logcat). If you could post some of the code, I'll be able to help you further:)

I`m trying to add screenshot of my codes but I cant do it here do you have any ideas how can I show my code and the errors I have? Many thanks.