包括Android项目外部库 [英] Including External Library in Android project

查看:112
本文介绍了包括Android项目外部库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新到Android我想用这个开源库但我不知道如何下载它和包括它在我的项目因为没有 .jar文件

I am new to android I thought of using this Opensource library but I don't know how to download it and include it in my project since there is not .jar file.

推荐答案

将库为Android库:

Set the library up as an Android library:


  1. 右键单击库项目

  2. 选择属性

  3. 转至Android的标签

  4. 标记项目为库

然后设置你的应用程序使用的库:

Then set your application to use the library:


  1. 右键单击库项目

  2. 选择属性

  3. 转至Android的标签

  4. 在底部添加库

这样,你现在将你的应用程序时要使用的图书馆。

That way, you will now be using the library when working on your app.

这篇关于包括Android项目外部库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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