由于buildscan,构建项目失败

时间:2019-06-17 21:48:56

标签: android-studio gradle kotlin

昨天我的android项目运行正常,但今天它无法成功运行该构建。

我尝试去Build-> Clean Project仍然没有用,然后我去了Settings-> Build,Execution,Deployment->编译器->命令行选项,并添加了--scan --warning-mode = all然后我在日志中收到了这些消息。

The build scan was not published due to a configuration problem.

The Gradle Terms of Service have not been agreed to.

To agree to the Gradle Terms of Service, include the following in your root project's configuration:
buildScan { termsOfServiceUrl = "https://gradle.com/terms-of-service"; termsOfServiceAgree = "yes" }

For more information, please see https://gradle.com/scans/help/plugin-terms-of-service.

Alternatively, if you are using Gradle Enterprise, specify the server location.
For more information, please see https://gradle.com/scans/help/plugin-enterprise-config.

有什么办法解决这个问题吗?

0 个答案:

没有答案