Jump to content

[Solved] gradlew genItellijRuns - Asset import 'Hash Failed' error


IdleZombie_

Recommended Posts

I recently wanted to start modding, so, according to a tutorial, I got the MDK. As the tutorial used Eclipse instead of IntelliJ IDEA (The IDE I use), I followed what was in the 'README.txt'. It said to import the project using the 'build.gradle' and then run the command 'gradlew genIntellijRuns' (I use 1.16.3 - 35.1.4[The latest recommended download I could find]). The first part was fine - After a lot of downloading, it said 'BUILD SUCCESSFUL', and all the Gradle tasks also loaded. Then I ran the command. I got the 'Hash failed' error for some files. Then as in the README, I ran it again with --refresh-dependencies. Still gave the same error. Then I ran it from the Gradle tab in IntelliJ. Still the same error. I ran it from command line. Same error. I ran 'gradlew clean' and did it again. Still same. I deleted the forge_gradle caches. and ran the command again. Same error. As I don't quite understand gradle, I don't know how to manually fix this. Can anybody help? Thank you!

image.png.35de30a80c62aff0f19249bb5abd594c.png

Edited by IdleZombie_
Link to comment
Share on other sites

What kind of wifi connection are you using If it is a public wifi or has some kind of proxy I would suggest you to try again with an active vpn connection;

That would be my suggestion

 

 

also i would suggest you to not share any gradle scans because they contain all the information of your pc like your Ip adress, username and computer components 

 

This is not very safe please yust paste the needed logs and infos on a site like pastebin.com and then share that link so that you can be sure not to share any critical data

 

Edited by anonymusdennis
  • Thanks 1
Link to comment
Share on other sites

On 2/16/2021 at 2:08 PM, anonymusdennis said:

What kind of wifi connection are you using If it is a public wifi or has some kind of proxy I would suggest you to try again with an active vpn connection;

That would be my suggestion

 

 

also i would suggest you to not share any gradle scans because they contain all the information of your pc like your Ip adress, username and computer components 

 

This is not very safe please yust paste the needed logs and infos on a site like pastebin.com and then share that link so that you can be sure not to share any critical data

 

Okay, thank you! I didn't see you replied up-to now unfortunately, but, I fixed the error by getting a friend of mine with a better internet to download the assets and send me the missing files. As for the gradle scan, thank you so much for letting me know! I edited that out since the problem is already fixed! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.