Your First Sample Android Project in Eclipse

Here’s a quick tip on running your first ADT Plugin Samples Project in Eclipse.

Keywords: The import cannot be resolved

When you load the sample project in Eclipse you’ll probably encounter a compile problem with the Android.Support libraries.

Here’s the StackOverflow answer on adding android-support-vX.jar from the Android SDK to your project.

You’ll be adding android-support-vX.jar to your Build Class Path as an External JAR.

Be sure it’s checked as an Exported Class as shown below.

And if the automatic build isn’t clean you may need to Run -> Clean the project, though I personally didn’t have to do this.

That’s the Compile Tip. I’ll be sharing tips on using the Android Emulator next if you’re having troubles firing up that bad boy, so don’t go anywhere, Sports Fans!