I have an old project that am working at, I noticed that the .gradle folder has too many subfolders for each distribution of gradle I\'ve changed in the past, is it safe to
Though its very old thread but recently I recently run into the issue when renamed my android application root name manually. Access Denied error coming on reopening in Android Studio for filehashes.lock under .gradle folder.
So followed below steps and it worked fine. 1. Close Android Studio 2. Delete .gradle folder manually 3. Restart Android Studio On restarting android studio, .gradle folder will be recreated.