Jump to content

Error when building gradle: Could not resolve all dependencies for configuration ':modules_userdev_resolver'.


Recommended Posts

Posted

Hi! As the title says, I ran into a problem when building the gradle. The error report:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'Build 1.8'.
> Could not resolve all dependencies for configuration ':modules_userdev_resolver'.
   > Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
      > Unable to download toolchain matching these requirements: {languageVersion=17, vendor=any, implementation=vendor-specific}
         > Could not GET 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2+8/OpenJDK17U-jdk_x64_windows_hotspot_17.0.2_8.zip'.
            > Connection reset

More of the error report in the spoiler below:

  Reveal hidden contents

I assume this is because the github cannot be reached. I am using a VPN, which is necessary for me to reach the github site due to online censorship. I can access the link in my browser and download the file, but apparently the gradle can't get it. Anybody know what's happening?

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.