android 提示 gradle been locked by this process错误的解决方法

2024年08月09日

安卓项目编译的时候提示报错:

Cannot lock execution history cache (/xxx/android/.gradle/8.2/executionHistory) as it has already been locked by this process.

解决办法:

pkill -f '.*GradleDaemon.*'

© 1987 - 2023 张晓刚 版权所有

浙ICP备16002143号-1