How can I use external JARs in an Android project?

前端 未结 12 1601
甜味超标
甜味超标 2020-11-21 11:40

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.

12条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-21 12:04

    Android's Java API does not support javax.naming.* and many other javax.* stuff. You need to include the dependencies as separate jars.

提交回复
热议问题