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) Pretty Little Things Adding an Image

Ruud Visser
Ruud Visser
3,140 Points

Android - Pretty Little Things - Theme error

Hi all,

I have a problem with using the theme: "theme.Black.NoTitleBar.Fullscreen". As described in the Teacher's Notes, one of the possible solutions is to import the project files. So I chose this solution and imported both folders (android-support-v7-appcompat & CrystallBall), but still I'm not able to run my CrystalBall application. What am i missing here?

The editor is showing the following errors: -error retrieving parent for item: No resource found that matches the given name 'Theme.AppCombat.Light.DarkActionbar'. -error retrieving parent for item: No resource found that matches the given name 'Theme.AppCombat.Light'.

Also the activity_main.xml is showing the following errors: Failed to find style 'textViewStyle' & 'buttonStyle' in current theme.

I hope you guys can help me out becaus at this moment i'm really clueless. Thanks.

I just clicked 'Ask to answer' for you below, to try to get some folks in here to help :)

2 Answers

Did you try right click the CrsytalBall project and select property->Android->Library->Add->android-support-v7-appcompat?

Ruud Visser
Ruud Visser
3,140 Points

Thanks for your response YUCHIH,

You saved my day! I have looked for hours this afternoon but couldn’t find a button or function to check if this software part was checked or not. Your solution solved my problem. That's the problem of being new to Android development, you have to learn how all things and software work. Just like learning how to walk for the first time. Thanks to your fast response I now can continue with my 'steps' in the world of Android development.

Hi Ruud Visser.

I'm so glad that I can help. I've been where you are, so I know how you feel at this moment. It's frustrating but that's how we learn, right?

Happy coding with you.