It is currently in use by another Gradle instance October 18, 2022 by Tarik Remove the lock files in the gradle cache by executing something like this: find ~/.gradle -type f -name "*.lock" -delete