首页 > 解决方案 > 错误:此版本中使用了已弃用的 Gradle 功能,使其与 Gradle 6.0 不兼容

问题描述

我正在尝试在 TeamCity 上使用 gradlew 运行一个干净的 android 项目构建。它运行了很多任务,但随后返回此错误:

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.

然后它失败了。这个问题的原因是什么,我该如何解决?

标签: androidandroid-studiogradleteamcity

解决方案


推荐阅读