Android Studio错误:The app.Configuration 'compile' is obsolete and has been replaced with 'implementat

**Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’.
It will be removed at the end of 2018**
这里写图片描述
这里写图片描述
如上图,点击进入build.gradle(Module:app),然后就会发现最下方有一个“compile”,这就是错误提示你要修改的地方,把它改为”implementation”.
这里写图片描述
更改后如下图所示
这里写图片描述
改好后重新进入,就可以发现可以正常编译了。
这里写图片描述

猜你喜欢

转载自blog.csdn.net/Leo_Huang720/article/details/81061066