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) Learning the Language Introduction to Arrays

Problem importing project files

After I import the project files the Crystal Ball project is broken. The first error (and probably the root of all others) appears on line 6: "import android.support.v7.app.ActionBarActivity;" with the message that "android.support.v7.app" can't be resolved.

I did import the projects and copy them into the workspace. Note that the project name after import is "android-support-v7-appcompat" rather than "android-support-v7-app". I tried re-typing the import statement and autocomplete got me to "import android.support.v7.appcompat" but it did not show the ActionBarActivity (or any other elements).

The "src" folder for this project is empty.

What am I missing?


1 Answer

I should have mentioned that I am working on the "Crystal Ball" app in the Android Development class...