Import Libraries in Eclipse?

后端 未结 4 1339
隐瞒了意图╮
隐瞒了意图╮ 2020-12-02 17:16

I just recently downloaded the dom4j library, but for the life of me I have no idea how to access it. I dropped it in the plug-ins folder and rebooted Eclipse, without succe

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-02 17:47

    For the Android library projects, I do it as in the attached screenshot:

    Right click the project, select Properties->Android and in the library section click Add. From here you can select the available libraries.

    If you are importing a jar file, then importing them as jar or external jar, as other posters posted would work. I prefer to copy/paste jar file in the libs folder (create one if it doesn't exist) and then import as jar.

    Adding a library

提交回复
热议问题