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 Sounds

Brody Ricketts
Brody Ricketts
15,612 Points

Importing project files

I imported project files for pretty little things stage 3 to Eclipse using Existing android code method.

I am getting 3 errors referencing the Theme.AppCompat....

the first: .Light.DarkActionBar the remaining 2: .Light.

Any help would be appreciated.

Brody Ricketts
Brody Ricketts
15,612 Points

Found an answer on StackOverflow.com

  1. File->Import (android-sdk\extras\android\support\v7). Choose "appcompat" (If imported correctly this shouldn't be the issue. Follow step 2 to get the fix you need. The UX is self explanitory.)
  2. Project-> properties->Android. In the section library "Add" and choose "appCompat"
  3. That is all!

Happy Coding.