留言板

While creating module Could not excute build using Gradle distribution

thumbnail
venkatesh vemula,修改在6 年前。

While creating module Could not excute build using Gradle distribution

Junior Member 帖子: 37 加入日期: 12-8-1 最近的帖子
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,修改在6 年前。

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

New Member 帖子: 3 加入日期: 17-8-30 最近的帖子
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.