MCreator Gradle Error: No such version exists!

Started by carl4020 on

Topic category: Help with MCreator software

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator Gradle Error: No such version exists!
Fri, 02/15/2019 - 18:18 (edited)

Error: 

   
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 8118 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Pylo\MCreator182\.\jdk
(c) 2018 Microsoft Corporation. Alle rettigheder forbeholdes.
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" wrapper --gradle-version 4.4 
BUILD FAILED
Total time: 5.954 secs
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator182\forge\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such version exists!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 6312 milliseconds

Edited by carl4020 on Fri, 02/15/2019 - 18:18
Joined Jan 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
C:/ Pylo / MCreator1.X.Y but…
Sat, 02/16/2019 - 09:18

C:/ Pylo / MCreator1.X.Y

but even if i do delete it and try re dowloading it my never works

 

Did you delete C:/Users/…
Sat, 02/16/2019 - 09:21

Did you delete C:/Users/(username)/.mcreator/gradle folder too? And restart the computer after deleting it or manually kill all java processes on the computer?

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I searched in my user…
Sat, 02/16/2019 - 09:21

I searched in my user directory (which had my nickname) and I found nothing named ".mcreator". The only thing related so far is a ".gradle" folder.

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait, i didn't saw the…
Sat, 02/16/2019 - 09:22

Wait, i didn't saw the second message. I'll test it and give any informations when done

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh, nevermind. the second…
Sat, 02/16/2019 - 09:23

Oh, nevermind. the second message wasn't for me. I feel really stupid rn x)

 

Joined Jan 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
      Still getting it on…
Sat, 02/16/2019 - 10:01

   

 

Still getting it on older version's

 

 

 

 

 

 

 

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.17134.81]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator175>cd forge
C:\Pylo\MCreator175\forge>SET "JAVA_HOME=C:\Pylo\MCreator175\jdk32\"
C:\Pylo\MCreator175\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator175\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator175\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-3966cea        
  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
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
BUILD FAILED
Execution failed for task ':decompileMc'.
> Process 'command 'C:\Pylo\MCreator175\jdk32\bin\java.exe'' finished with non-zero exit value 1
Total time: 1 mins 43.952 secs
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator175\forge>
Task completed with return code 0 in 104452 milliseconds

 

 

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I deleted ".gradle" and did…
Sat, 02/16/2019 - 10:36

I deleted ".gradle" and did the setup of MCreator again, and it worked!

Thank you so much for your help Klemen ^^

Good luck natskull, hope they'll find a solution for you too.

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mcreator working or not?
Sat, 02/16/2019 - 13:08

Mcreator working or not?

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry,but could you tell me…
Sat, 02/16/2019 - 18:59

Sorry,but could you tell me where all the items are written to solve the problem

The fix for this is the…
Sat, 02/16/2019 - 20:57

The fix for this is the following:

  1. Go to your user folder and in this folder, go to a folder called .mcreator. In this folder, delete a folder called gradle
  2. Reboot your computer
  3. Run MCreator again

If this does not help, try the following:

  1. Go to your user folder and in this folder, go to folder called .mcreator. In this folder, delete a folder called gradle
  2. Completely reinstall MCreator
  3. Run the setup again

This issue was caused by an outdated repository that was in use by Minecraft Forge and their development gradle toolkit needs to be updated.