Adding a library/JAR to an Eclipse Android project
来源:互联网 发布:淘宝上的进口零食推荐 编辑:程序博客网 时间:2024/05/19 23:26
1.Download the library to your host development system.
下载库到你的电脑里的文件夹中
2.Create a new folder, libs, in your Eclipse/Android project.
在你的Eclipse软件上的Android项目下新建一个文件夹,名字为:libs(如果有就不需要新建,如果为lib改为libs即可)
3.Right-click libs and choose Import -> General -> File System, then Next, Browse in the filesystem to find the library's parent directory (i.e.: where you downloaded it to).
右键点击libs文件并且选择(点击)Import选项,点开General选项,点击File System选项,点击Next,点击Browse,找到你下载下来的库的文件夹
4.Click OK, then click the directory name (not the checkbox) in the left pane, then check the relevant JAR in the right pane. This puts the library into your project (physically).
选择你下载库的文件夹后点击OK,在下面左边的框中选择你要导入的库的文件夹,右边框中选中你要导入的库文件,点击finish即可导入库文件。
5.Right-click on your project, choose Build Path -> Configure Build Path, then click the Libraries tab, then Add JARs..., navigate to your new JAR in the libs directory and add it. (This, incidentally, is the moment at which your new JAR is converted for use on Android.)
右键你的项目,选择Build Path,选择Configure Build Path,接着点击Libraries选项,点击Add JARs...,选择你的项目中的libs文件夹中的到入库,点击OK即可导入。
- Adding a library/JAR to an Eclipse Android project
- Adding a library/JAR to an Eclipse Android project
- Adding an External Library (.jar) using Eclipse
- Adding an Unsupported Language to a Project
- Use an eclipse plugin project as jar library in a regular java project
- 5.4 Adding a Storyboard to an Existing Project
- Adding a Project to an OS Design (Windows CE 5.0)
- Adding Dagger To Your Android Project In Eclipse
- Adding an existing project to GitHub using the command line
- Adding an existing project to GitHub using the command line
- Android:Eclipse-unable to get system library for the project
- How to Build an Android Project with Eclipse
- Crashlytics was applied to a project without an Android plugin.
- How to create an automation project using MFC and a type library
- 转载:How to create an automation project using MFC and a type library
- RequireJS Adding a Library
- How to quickly access the source of an “android library project”
- Recipe 4.10. Adding an Entry to a Dictionary
- mysql帮助的使用
- 设计模式---工厂模式
- Unity3D开发:为地形添加水源和效果
- UVA 548 Tree(数据结构,二叉树,遍历)
- 使用live delegate on来解决js对后加载的html失效的问题
- Adding a library/JAR to an Eclipse Android project
- jquery ajax 在submit按钮的click处理中应注意的地方
- 怎样跟他人建立好人际关系
- 关于IIS发布应用的几点总结
- HTML5 localStorage and sessionStorage
- 配置mac 环境时碰到的一些问题
- 【Unknown】HttpClient:一个HTTP库规范
- 动态链接库(DLL)的编写及导出函数
- 伪分布式集群环境hadoop、hbase、zookeeper搭建(全)