Android 设计支持库不编译
Android Design Support Library does not compile
https://gist.github.com/koraytem/89338cddbd50442164aeb555393a0d09 伙计们,这里是我 gradle 页面的 link。当我添加 android 设计支持库编译时,它给我这个错误
Configuration 'compile' is obsolete and has been replaced with
'implementation' and 'api'. It will be removed at the end of 2018. For
more information see:
http://d.android.com/r/tools/update-dependency-configurations.html `.
Appreciate for any help.
从 Gradle 插件 3.0.0 开始引入了新的配置依赖项。有关更多信息,请查看 使用新的依赖配置 在此 official link。
正如您在警告消息中所见,compile
已过时,需要使用 implementation
。因此需要进行以下更改:
当前为:
compile 'com.android.support:design:27.1.1'
改为:
implementation 'com.android.support:design:27.1.1'
https://gist.github.com/koraytem/89338cddbd50442164aeb555393a0d09 伙计们,这里是我 gradle 页面的 link。当我添加 android 设计支持库编译时,它给我这个错误
Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html `. Appreciate for any help.
从 Gradle 插件 3.0.0 开始引入了新的配置依赖项。有关更多信息,请查看 使用新的依赖配置 在此 official link。
正如您在警告消息中所见,compile
已过时,需要使用 implementation
。因此需要进行以下更改:
当前为:
compile 'com.android.support:design:27.1.1'
改为:
implementation 'com.android.support:design:27.1.1'