Gradle sync failed: Could not create parent directory for lock file
问题 I checked out a git repository in android studio, but I'm in trouble with Gradle sync failed error. When project wants to build, the android studio raise an error like as following: Gradle sync failed: Could not create parent directory for lock file C:\Users\Mohammad\.gradle\wrapper\dists \gradle-4.10.1- all\455itskqi2qtf0v2sja68alqd\gradle-4.10.1-all.zip.lck I saw some answers to the other almost same problems, but none of them help. Also I deleted cashes in .gradle directory according above