如何添加。 JAR在我的项目? [英] how to add. JAR in my project?

查看:167
本文介绍了如何添加。 JAR在我的项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
  <一href=\"http://stackoverflow.com/questions/3642928/adding-a-library-jar-to-an-eclipse-android-project\">Adding库/ JAR到Eclipse Android项目

我发现一个有趣的项目,我想用自己的库,但我无法添加到我的图书馆,如示例

I found an interesting project to me, Wanted to use his library but I can not add to my library, as in the example

我这样做是在eclipse

I do it in eclipse

我不能添加。罐子在我的图书馆

推荐答案

右键点击您的项目,选择构建路径 - > 配置构建路径。 .. 。在标签中可以添加库。

Right click your project, select Build Path -> Configure Build Path.... On the Libraries tab you can add the library.

如果该JAR包含在项目文件夹选择添加JAR文件... 。如果你想将它从文件系统中添加选择添加外部JAR

If the JAR is contained in a project folder select Add JARs.... If you want to add it from the file system select Add External JARs.

这篇关于如何添加。 JAR在我的项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆