DEV Community

sunj
sunj

Posted on

ERROR : Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-8.4-bin.zip'.

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-8.4-bin.zip'.
Reason: java.lang.RuntimeException: Could not create parent directory for lock file C:\Program Files\Java\jdk-17\wrapper\dists\gradle-8.4-bin\1w5dpkrfk8irigvoxmyhowfim\gradle-8.4-bin.zip.lck

Please ensure Android Studio can write to the specified Gradle wrapper distribution directory.
You can also change Gradle home directory in Gradle Settings.

Enter fullscreen mode Exit fullscreen mode

File - Settings - Gradle - Gradle user home 자리를 비워두기

참조 : https://stackoverflow.com/questions/75723748/gradle-error-in-android-studio-could-not-create-parent-directory-for-lock-file

Top comments (0)