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

Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission. https://blog.csdn.net/qq_31490071/article/details/82385239

During the Android Studio upgrade process, it was really a pit. After finally solving the previous problems, new problems came again.

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

It probably means that at the end of 2018, the compile configuration item will be replaced by 'implementation', so change the compile configuration item in the configuration file to implementation and recompile. Note, if the project references other library files or modules, the content in it also needs to be changed.

Finally compiled and passed~bingo

Related Posts