Started by
Lightbulbmaster
on
Topic category: Troubleshooting, bugs, and solutions
Hello!
Today I wanted to refactor my 1.12 workspace because it was missing key feautures that i need for my mod. When I refactored to 1.14 the build failed. Here's the log: https://pastebin.ubuntu.com/p/g9MqhtvBPZ/
Looks to me like you need to delete your Gradle folder, restart Mcreator and let it rebuild it, since the first error is about the Gradle.. sorry if it's not,. Didn't look at the rest.
The build failed again, but there was a ! next to stopping running gradle daemons so the log might be different. Here it is: https://pastebin.ubuntu.com/p/n884JKfnBH/
In some cases, Gradle caches that make sure the build process does not take too long can get corrupted. In such a case, go to:
<your user home folder>/.mcreator/gradle
In this folder, there is a folder called caches. Delete this folder and open MCreator again. Next build will take a bit longer as caches need to be rebuilt. If you can not delete all files in this folder (which is necessary), reboot the computer first to remove any potential file locks.
If this is not enough to make things work, delete the entire gradle folder, not just caches, and try again.
If even this fails, try to delete the entire <your user home folder>/.mcreator/gradle folder, create a new workspace with the same generator version as the version of the workspace failing, after the setup of this new workspace is done, open your current workspace, and click Build & run -> Build workspace, then Build & run -> Reload gradle project and then Build & run -> Regenerate code and build.
I tried the first methods and also tried with no AV. all failed. Then when I made a new workspace in 1.14 which is the version failing and the build of that workspace failed. Heres the log: https://pastebin.ubuntu.com/p/2gQ4Qt4ht2/