Can someone please explain to me what this error means and how to resolve this cache.properties.lock error in android studio ??
Error:java.io.FileNotFoundException: C:\Users\lrana\AndroidStudioProjects\Umachi.gradle\2.10\taskArtifacts\cache.properties.lock (Access is denied)
C:\Users\lrana\AndroidStudioProjects\Umachi.gradle\2.10\taskArtifacts\cache.properties.lock (Access is denied)
had this problem on linux, the problem was that it was root owned.
sudo chown user:user -R ./2.2
in the ./gradle directory solved the problem
This sounds like it's related to https://issues.gradle.org/browse/GRADLE-2795.
Try to to delete everything under C:\Users\Administrator.gradle\caches. There is a cache.properties.lock that is holding a global lock which is preventing you from running your script. Using MacOS you will find it in your home directory ~/.gradle/caches
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With