How can I use external JARs in an Android project?

前端 未结 12 1470
甜味超标
甜味超标 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 11:51

    Goto Current Project

    RightClick->Properties->Java Build Path->Add Jar Files into Libraries -> Click OK

    Then it is added into the Referenced Libraries File in your Current Project .

提交回复
热议问题