Configuration 'compile' is obsolete and has been replaced with 'implementation'.It will be removed at the end of 2018`

在3.1中所有模块的compile 对应字段都要替换成 implementation,如果不替换掉会在gradle的时候报错,运行不上项目。(强制使用implementation, 不过报错也不够精准。需要你仔细观察gradle的输出)如果你的项目使用多个依赖,而且依赖之间又有相互依赖,你想在主项目里只依赖一个库,那就需要在其他依赖库里使用api引用库,这样所引用的库就可在当前module外使用了

更多相关文章

  1. dither抖动的使用
  2. android解决内存溢出的问题(没有从根本上解决)
  3. Android中classpath和compile的区别
  4. LeakCanary笔记
  5. 内容为引用别人的文章,备自己学习之用.
  6. Android之Kotlin入门:常量和静态方法
  7. Android(安卓)Studio库Module引用aar文件
  8. [Android] Eclipse错误:Conversion to Dalvik format failed with
  9. android 文件合并打包 Error:Execution failed for task ':app:p

随机推荐

  1. Android(安卓)回炉 阿里巴巴Android开发
  2. 系出名门Android(9) - 数据库支持(SQLite
  3. 使用Vitamio打造自己的Android万能播放器
  4. android中异步加载图片
  5. android 将程序设置为app2sd
  6. Android(安卓)中.aar文件生成方法与用法
  7. Android-View-Attribute
  8. ListView setOnItemClickListener无效原
  9. android-RecycleView的导入之旅
  10. Android高手进阶教程(七)之 ----Android(