how to fix Mcreator Gradle failed

Published by KaitozzZ on Sat, 09/29/2018 - 07:08
Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.0, 64-bit, 12188 MB, Windows 10, JVM 1.8.0_172
C:\Pylo\MCreator180\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -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-ee3e3df        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':extractUserdev'.
> Could not expand ZIP 'C:\Users\First\.mcreator\gradle\caches\modules-2\files-2.1\net.minecraftforge\forge\1.12.2-14.23.4.2705\823b8dae774f68fe352975632a36f131c97e47d0\forge-1.12.2-14.23.4.2705-userdev.jar'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 52.866 secs
C:\Pylo\MCreator180\forge>
Task completed with return code 0 in 53654 milliseconds

Issue comments

Go to C:\Users\First\.mcreator\gradle\ and delete the folder called caches to fix this bug.



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.