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

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

问题描述


可能重复:

将库/ JAR添加到Eclipse Android项目


我发现一个有趣的项目给我,想要使用他的图书馆,但我不能添加到我的图书馆,如在例子中



< img src =https://i.stack.imgur.com/PCQX1.pngalt =enter image description here>



我在eclipse中/ p>

我无法添加。我的图书馆中的罐子



解决方案

右键点击你的项目,选择 Build Path > 配置构建路径... 。在选项卡上,您可以添加库。



如果JAR包含在项目文件夹中,请选择添加JAR ... 。如果要从文件系统中添加,请选择添加外部JAR


Possible Duplicate:
Adding a library/JAR to an Eclipse Android project

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

I do it in eclipse

I can not add. Jar in my library

解决方案

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

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天全站免登陆