Foren

While creating module Could not excute build using Gradle distribution

thumbnail
venkatesh vemula, geändert vor 6 Jahren.

While creating module Could not excute build using Gradle distribution

Junior Member Beiträge: 37 Beitrittsdatum: 01.08.12 Neueste Beiträge
Hi All,

I am creating liferay module project from Liferay developer studio. While creating the module am getting an issue of "Could not execute build using gradle distribution" https://services.gradle.org/distributions/gradle-2.14-bin.zip. (Please check the attached screen shot of issue)

If I hit that url in browser am able to download the zip file.

Can any one help me to resolve this issue.


Thanks in advance.
thumbnail
Rui Wang, geändert vor 6 Jahren.

RE: While creating module Could not excute build using Gradle distribution

New Member Beiträge: 3 Beitrittsdatum: 30.08.17 Neueste Beiträge
Failure reason:
Your gradle-2.14-bin.zip file is not fully downloaded.
Solution:
Please go to .gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk\ folder in your ${userHome}. Delete all the existing files, and copy the gradle-2.14-bin.zip file you've downloaded in the browser and unzip it. Then try New Liferay Module Project again. Hope that works.