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:
android.jar (belongs in the bootclasspath)
java/xbrt.jar: the normal XBinder runtime for Java
java/android/j2se_android.jar
java/android/soxp.jar
java/stax/stax-api-1.0.1.jar: the StAX API