I have created an Android project and added an external JAR (hessian-4.0.1.jar) to my project. I then added the JAR to the build path and checked it off in Order and Export.
Android's Java API does not support javax.naming.* and many other javax.* stuff. You need to include the dependencies as separate jars.