当我构建时,Gradle 总是卡住超过 10 分钟
这是日志
+2671 ms] FAILURE: Build failed with an exception.
[ +98 ms] * What went wrong:
[ +1 ms] Gradle could not start your build.
[ +3 ms] > Could not create service of type ChecksumService using
BuildSessionScopeServices.createChecksumService().
[ +7 ms] > Cannot lock checksums cache (/home/pavan/new_project/android/.gradle/checksums) as
it has already been locked by this process.
这可能与你的缓存有关。
如果您使用的是 Windows 操作系统,请清除此目录中的
.lock
缓存(在目录本身中搜索 .lock 并删除删除了 .lock 扩展名的所有内容):
C:\Users