Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

android studio 更新到3.1版本之后一直有警告,谷歌翻译了一下:配置'compile'已经过时,并已被'implementation'取代 compile想必都不陌生,就是存在gradle文件下的 和 解决方案;把dependencies 下的compile 修改成implementation  同步项目,项目中的警告就消失了 其中,dependencies在build.gradle
相关文章
相关标签/搜索