How to import library ?
2024-10-14 11:24:08
Android Studio:
- Download or git the library. (for example: the library folder named ActionBarSherlock)
- Create a folder named libraries in your root directory of project.
- Copy & Paste the library into libraries.
On the root of your project, modify setting.gradle (if not exist, create it), add this library.
include(‘:libraries:ActionBarSherlock’)
Edit your project’s build.gradle, tell gradle to compile your added library,add below code in the dependencies tag.
compile project(:libraries:ActionBarSherlock)
Run gradle clean && gradle assemble on your root project.
最新文章
- CodeForces - 696B Puzzles
- React入门
- 纯CSS3实现3D跳动小球
- window7下使用vagrant打造lamp开发环境(二)
- 一次千万级别的SQL查询简单优化体验
- GLEW OpenGL Access violation when using glGenVertexArrays
- POJ 2876 Cantoring Along
- 十家国内知名的EDM服务提供商
- Selenium2学习-007-WebUI自动化实战实例-005-解决 Firefox 版本不兼容:org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary
- nodejs发起HTTPS请求并获取数据
- ARC 类型转换:显式转换 id 和 void *
- POJ1942 Paths on a Grid(组合)
- [转载]CTO和技术总监区别
- Android LayoutInflater解析
- async/await处理异步
- eclipse 设置
- Mybatis异常There is no getter for property named 'XXX' in 'class java.lang.String'
- IUSER 匿名帐户密码获取
- django os.environ慎用setdefault操作环境变量!
- 【转】BFC是什么
热门文章
- [2013 Final] Colors
- Swing Note
- 解決BufferedReader读取UTF-8文件中文乱码
- Makeflow 4.0 发布,工作流引擎
- django rest_framework--入门教程2
- Eclipse配置详解(包括智能提示设置、智能提示插件修改,修改空格自动上屏、JDK配置、各种快捷键列表……)
- Google 镜像站搜集[转]
- 深入理解java虚拟机【Java Class类文件结构】
- Android开发学习总结(五)——Android应用目录结构分析
- ubuntu 12.04 支持中文----完胜版