Create a Java Project

You will not be able to use the ADT (Android Development Tools) Eclipse plug-in. The reason for this is that ADT attempts to bundle all referenced JARs, converting classes to DEX format, but it will not convert "core" classes (those in the java.* or javax.* packages). Our support JARs for Android include "core" classes. Therefore, you will need to create a normal Java project and create a customized build.[7]

Regardless of your IDE, you will want your build path to include the following:

[7] This is inherently the result of using Java SDK API that is not a part of Android.