title: Gradle sync failed: Could not create parent directory for lock file
body: <p>I checked out a git repository in android studio, but I'm in trouble with <strong><code>Gradle sync failed</code></strong> error.</p>
  <p>When project wants to build, the android studio raise an error like as following:</p>
  <pre><code>Gradle sync failed: Could not create parent directory for lock file 
  C:\Users\username\.gradle\wrapper\dists \gradle-4.10.1- 
  all\455itskqi2qtf0v2sja68alqd\gradle-4.10.1-all.zip.lck
  </code></pre>
  <ul>
  <li>I saw some answers to the other almost same problems, but none of
  them help.</li>
  <li>Also I deleted cashes in .gradle directory according above path, but it does not work.</li>
  </ul>
  <hr />
  <p>How can I solve this problem?</p>
  <p>I appreciate you to solve this problem, thanks.</p>