平时开发时使用的依赖库
来源:互联网 发布:sql server 分类查询 编辑:程序博客网 时间:2024/05/16 06:06
Recyclerview
compile 'com.android.support:recyclerview-v7:21.0.+'
butterKnife 的依赖
compile 'com.jakewharton:butterknife:7.0.1'
Jsoup依赖
compile 'org.jsoup:jsoup:1.9.2'
Xutils依赖
compile 'org.xutils:xutils:3.5.0'
Glide依赖
compile 'com.github.bumptech.glide:glide:3.7.0'
banner依赖
compile 'com.youth.banner:banner:1.4.9'
Tablayout依赖
compile 'com.android.support:design:25.0.1'
ImageLoder依赖
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
Json依赖
compile 'com.google.code.gson:gson:2.8.1'
OKHTTP依赖
compile 'com.squareup.okhttp:okhttp:2.4.0'
---------------------------------------------------------------------------
如果导入RecycleView依赖时与V7包冲突,在module 的 build.gradle配置文件里最后面加上这一段
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '25.3.0'
}
}
}
}
compile 'com.android.support:recyclerview-v7:21.0.+'
butterKnife 的依赖
compile 'com.jakewharton:butterknife:7.0.1'
Jsoup依赖
compile 'org.jsoup:jsoup:1.9.2'
Xutils依赖
compile 'org.xutils:xutils:3.5.0'
Glide依赖
compile 'com.github.bumptech.glide:glide:3.7.0'
banner依赖
compile 'com.youth.banner:banner:1.4.9'
Tablayout依赖
compile 'com.android.support:design:25.0.1'
ImageLoder依赖
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
Json依赖
compile 'com.google.code.gson:gson:2.8.1'
OKHTTP依赖
compile 'com.squareup.okhttp:okhttp:2.4.0'
---------------------------------------------------------------------------
如果导入RecycleView依赖时与V7包冲突,在module 的 build.gradle配置文件里最后面加上这一段
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '25.3.0'
}
}
}
}
阅读全文
0 0
- 平时开发时使用的依赖库
- 平时使用的一些快捷键
- 平时开发时经常用的一些javascrpt片断
- 平时开发搜集的一些网址
- 平时用到的开发工具快捷键
- 平时开发需要注意的点
- mysql命令平时使用的基础
- 平时使用VS2003总结的一些笔记
- CocoaPods依赖库的使用
- android平时学习时遇到的问题
- 平时php开发工作中常用的几个命令
- C/C++开发平时用的自定义debug函数
- 安卓补间动画属性学会这些平时的开发足够了
- iOS开发:平时做项目经常用到的快捷键归纳
- git 平时使用命令
- 数据库平时错误和使用经验的总结
- 知识收录(记录平时使用查询到的资料)
- 使用MAVEN和Eclipse开发Web项目依赖库的问题
- 工厂模式
- mongodb安装
- echarts-柱状图
- Linux授权:chmod命令详细用法
- API网关服务:Spring Cloud Zuul
- 平时开发时使用的依赖库
- wifi判断
- C的一些格式的东西
- python实现冒泡排序
- Android6.0动态权限申请步骤以及需要注意的一些坑
- SOAP webserivce 和 RESTful webservice 对比及区别
- 技术文章如何写作才能有较好的阅读体验
- 关于python3.6使用pyinstaller出错问题
- cocos2dx安卓保持手机常亮