-
Notifications
You must be signed in to change notification settings - Fork 2.4k
failure to build #462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
flutter/flutter#23553 (comment) Try the steps in this issue and see it helps |
ok again, I am new to gradle, but managed to get it to pull the dependency for launch4j. Having problems getting it to pull the dependency jd-core-1.1.3. the link maven's repository has leads to file not found |
List the steps it would help me know what you might have done wrong. The issue I have referenced talks about the same thing you are facing at least to an extent, implement them and give the error here. |
I did the steps mentioned iin the readme.
It appears that jd-gui is using out-of-date libraries or something, as those libraries can no longer be found automatically from designated sources. |
This error is happening because the build is trying to download dependencies from jcenter, which was deprecated and eventually shut down. The repository URL it's trying to use (https://jcenter.bintray.com) is no longer available. Here's how to fix it:
You'll likely need to edit the repositories section to look something like this: repositories {
mavenCentral()
// Remove or comment out jcenter() if present
} If there are multiple build.gradle files, make this change in all of them. The main issue is that the build is trying to find the Alternatively, you could try a more recent version of the project if available, as newer commits might have already addressed this repository issue. After making these changes, run the build command again:
If you're on Windows and using the command prompt rather than Git Bash, you would use:
This should help resolve the dependency resolution issue by pointing Gradle to the Maven Central repository instead of the defunct jcenter. |
Hmm, it doesn't seem to work, looks like both packages that i had a error with, jd-core and the edu.sc, don't exist on both repo's. out of desperation, i had removed the edu.sc package and it worked... until it hit another error, and couldn't resolve jd-core. |
Uh oh!
There was an error while loading. Please reload this page.
I am trying to build jd-gui on my window system. I followed the snippet on the readme "How to build JD-GUI ?"
and it gives me an error:
FAILURE: Build failed with an exception.
A problem occurred configuring root project 'jd-gui'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 2s
how can I correct this problem. I am new to gradle
The text was updated successfully, but these errors were encountered: