MCreator Gradle setup fails - Could not expand ZIP

Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

 The gradle log:

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator177>cd forge
C:\Pylo\MCreator177\forge>SET "JAVA_HOME=C:\Pylo\MCreator177\jdk64\"
C:\Pylo\MCreator177\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator177\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator177\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-315a0db        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev FAILED
FAILURE: Build failed with an exception.
BUILD FAILED
* What went wrong:
Execution failed for task ':extractUserdev'.
> Could not expand ZIP 'C:\Users\Admin\.gradle\caches\modules-2\files-2.1\net.minecraftforge\forge\1.12.2-14.23.1.2555\d852d4e230d0a43d2b3aea843f68413384a547c\forge-1.12.2-14.23.1.2555-userdev.jar'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 2 mins 6.782 secs
C:\Pylo\MCreator177\forge>
Task completed with return code 0 in 128363 milliseconds

 

Issue comments

Go to C:\Users\Admin\ and remove the .gradle folder in it. Then run the MCreator setup again and it should work this time. Please report back. Thanks!



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.