Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not create parent directory for lock file C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.4\

I'm relatively new to IntelliJ. I'm using IntelliJ IDEA 2019.2.4.

When I try to do an Import From Existing Source - I get the following error:

Could not create parent directory for lock file C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.4\jbr\bin\proxy\wrapper\dists\gradle-5.3-all\b2xqo51qjs5t4spu8wb5tlf15\gradle-5.3-all.zip.lck

That's new - I didn't used to get that.

Any suggestions?

Thanks much

like image 742
Tim Mitchell Avatar asked Oct 11 '25 12:10

Tim Mitchell


1 Answers

Delete C:\Users\yourname.gradle

Then go to File>Settings>Build, Execution, Deployment>Build Tools>Gradle, and edit Gradle user home, to empty, when it's empty, it will automatically set to default.

like image 149
Vedant Singh Avatar answered Oct 15 '25 14:10

Vedant Singh