Timeout waiting to lock file has
2021-02-20 本文已影响0人
JuliusL
报错信息:
Timeout waiting to lock file hash cache >(C:\Users\Nietzche.gradle\caches\4.4\fileHashes).
It is currently in use by another Gradle instance.
Owner PID: 3564
Our PID: 18860
Owner Operation:
Our operation:
Lock file: C:\Users\Nietzche.gradle\caches\modules->2\modules-2.lock
解决版本:
杀掉进程 3564
步骤:
1.找到进程
tasklist |findstr “进程id号”
tasklist |findstr 3564
2.杀死
taskkill /f /t /im “进程id或者进程名称”
taskkill /f /t /im 3564
3.查询进程是否还在
tasklist |findstr “进程id号”
tasklist |findstr 3564