Quick Solve: MCreator workspace crash in creation because Gradle download problems in Windows

Started by 6512345 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 14:19, 18. Jun 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Quick Solve: MCreator workspace crash in creation because Gradle download problems in Windows
Sat, 06/15/2024 - 13:44 (edited)

Symptoms:

MCreator crash the workspace once it's first project creation because gradle can't be downloaded. Error log looks like this:

org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-8.7-bin.zip'.
 at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:135)

How to solve:

Download Gradle yourself(as for mcreator 2024.1, it's gradle-8.7-bin.zip.)

Save the file to C:\Users\<your user name>\.mcreator\gradle\wrapper\dists\<your gradle file name>\<Random characters>\ and delete .lck and .zip.part file in that folder.

 

You might need to do this everytime mcreator is updated.

 

Edited by 6512345 on Sat, 06/15/2024 - 13:44