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

Import Errors-styles.xml

Hey treehouse,

I have been working on the Build a Crystal Ball app on my pc tower. But decided to check out eclipse on my mac book. However, I am having problems downloading/importing the files in. For some reason I'm getting errors on all my values/styles.xml files. They say "error:Error retrieving parent for item: NO source found that matches the given name 'Theme.App.Compat.Light'".

These are the files downloaded straight from my current video.

Thank you for the help!

5 Answers

Are the files in the res / xml folder?

Yes. I even tried replacing them with the files from my pc version that are working properly. They are exactly the same. I'm not really sure what to do now.

I think there is a bug in Eclipse on the Mac. You might try NetBeans.

Thank you for the help. I will check it out.

Hi,

Hope this would work. http://stackoverflow.com/questions/17870881/cant-find-theme-appcompat-light-for-new-android-actionbar-support I did step 2 and all errors were gone.

Calvin Yu.