我是gradle的新手,当我尝试简单地检查gradle内置的任务时,我得到了构建失败的错误。
有人能解释一下哪里出了问题吗?
我只在cmd上运行'gradle tasks‘,并得到下一个错误:
FAILURE: Build failed with an exception.
* What went wrong:
Gradle could not start your build.
> Could not create service of type ChecksumService using BuildSessionScopeServices.createChecksumService().
> Timeout waiting to lock checksums cache (M:\.gradle\checksums). It is currently in use by another Gradle instance.
Owner PID: unknown
Our PID: 14372
Owner Operation: unknown
Our operation:
Lock file: M:\.gradle\checksums\checksums.lock
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with
--scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 1s发布于 2021-10-30 11:25:13
只需重新启动计算机即可。这是一个与缓存相关的错误
https://stackoverflow.com/questions/65159272
复制相似问题