android studio学习----构建(gradle )依赖时使用动态依赖的问题
2016-04-24 18:56
459 查看
今天在看Dan Lew大神的博客发现最新的文章就是 “Don't use dynamic versions for your dependencies”
Everyone, please, to stop using dynamic versions for your dependencies.
In Gradle, dynamic versions use the + sign like so:
compile 'com.android.support:appcompat-v7:23.0.+'
Ideally, your builds should be predictable and consistent. Identical source code should yield the same result, every time you build.
解决的方法如下图
博客的传送门 http://blog.danlew.net/2015/09 ... cies/
Everyone, please, to stop using dynamic versions for your dependencies.
In Gradle, dynamic versions use the + sign like so:
compile 'com.android.support:appcompat-v7:23.0.+'
Ideally, your builds should be predictable and consistent. Identical source code should yield the same result, every time you build.
解决的方法如下图
博客的传送门 http://blog.danlew.net/2015/09 ... cies/
相关文章推荐
- LoaderManager使用详解(三)---实现Loaders
- Notification 通知栏
- Dialog 对话框
- Toast
- Android控件SeekBar
- Gallery&自定义适配器
- 滚动控件ScrollView
- Android的页面管理控件ViewFlipper
- Android 主题和样式
- 关于如何避免Android中Bitmap引起的OutOfMemoryError
- Android JSONArray.remove ()报错
- 关于 Android 进程保活,你所需要知道的一切
- Android系统input按键处理流程(从驱动到framework)
- Android 智能短信第一天(下午)
- LoaderManager使用详解(一)---没有Loader之前的世界
- android 框架 Afinal 解析
- 学习笔记(七)广播
- AndroidStudio使用笔记
- Android Framework Java层是如何拦截并分发底层传送来的按键事件
- Android Studio引用Library与导入jar