How to Include additional javax.* packages in Android App with Eclipse?

前端 未结 2 1358
攒了一身酷
攒了一身酷 2020-12-11 01:44

I saw an article about including additional javax.* packages in your Android App http://code.google.com/p/dalvik/wiki/JavaxPackages.

I wanted to do the same thing,

相关标签:
2条回答
  • 2020-12-11 02:12

    Step 1: Properties -> Java Build Path -> Libraries -> add external jar

    Step 2: Properties -> Java Build Path -> Order and Export -> check the new lib

    0 讨论(0)
  • 2020-12-11 02:16

    Adding an External Library (.jar) using Eclipse

    You can use a third party JAR in your application by adding it to your Eclipse project as follows:

    1. In the Package Explorer panel, right-click on your project and select Properties.

    2. Select Java Build Path, then the tab Libraries.

    3. Press the Add External JARs... button and select the JAR file.

    Alternatively, if you want to include third party JARs with your package, create a new directory for them within your project and select Add Library... instead. It is not necessary to put external JARs in the assets folder.

    0 讨论(0)
提交回复
热议问题