Configuration 'compile' is obsolete and has been replaced with 'implementation'. It will be removed

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_31490071/article/details/82385239

AndroidStudio升级过程中,真的是一脚一个坑啊,好不容易解决完前面的问题,新问题又来了。

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

大概意思是在2018年底,compile配置项将被‘implementation’取代,所以将配置文件中的compile配置项改为implementation,重新进行编译。注意哦,如果该项目有引用其他库文件或者module,里面的内容也需要改。

终于编译通过了~bingo

猜你喜欢

转载自blog.csdn.net/qq_31490071/article/details/82385239
今日推荐