Gradle build error

Started by Egor23456 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 01:40, 17. Nov 2020
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle build error

Hello, I ran into a problem, or rather an error while building gradle.
Screenshot and error code are attached.

 

   
Executing gradle task: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 2019.5.51710, 1.12.2, 64-bit, 15819 MB, Windows 10, JVM 1.8.0_222, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-4.4-bin.zip'.

   at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:137
)
   at org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(CachingToolingImplementationLoader.java:40
)
   at org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(SynchronizedToolingImplementationLoader.java:43
)
   at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(LazyConsumerActionExecutor.java:101
)
   at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(LazyConsumerActionExecutor.java:83
)
   at org.gradle.tooling.internal.consumer.connection.CancellableConsumerActionExecutor.run(CancellableConsumerActionExecutor.java:45
)
   at org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(ProgressLoggingConsumerActionExecutor.java:58
)
   at org.gradle.tooling.internal.consumer.connection.RethrowingErrorsConsumerActionExecutor.run(RethrowingErrorsConsumerActionExecutor.java:38
)
   at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:55
)
   at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63
)
   at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46
)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149
)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624
)
   at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55
)
   at java.lang.Thread.run(Thread.java:748
)
Caused by: java.util.zip.ZipException: error in opening zip file

   at java.util.zip.ZipFile.open(Native Method)

   at java.util.zip.ZipFile.<init>(ZipFile.java:225
)
   at java.util.zip.ZipFile.<init>(ZipFile.java:155
)
   at java.util.zip.ZipFile.<init>(ZipFile.java:169
)
   at org.gradle.wrapper.Install.unzip(Install.java:215
)
   at org.gradle.wrapper.Install.access$600(Install.java:27
)
   at org.gradle.wrapper.Install$1.call(Install.java:75
)
   at org.gradle.wrapper.Install$1.call(Install.java:48
)
   at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69
)
   at org.gradle.wrapper.Install.createDist(Install.java:48
)
   at org.gradle.tooling.internal.consumer.DistributionInstaller.install(DistributionInstaller.java:72
)
   at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:131
)
   ... 14 more

TASK EXECUTION FAILED

Screenshot

https://yadi.sk/i/-RSTzOuNvEDlUw