jitpack / jitpack.io

Documentation and issues of https://jitpack.io
MIT License
2.52k stars 183 forks source link

Could not GET 'https://jitpack.io/io/github/vvb2060/ndk/boringssl/1.0/boringssl-1.0.pom'. Received status code 401 from server: Unauthorized #6518

Open MuhammadUsamaSiddiqui opened 2 weeks ago

MuhammadUsamaSiddiqui commented 2 weeks ago

FAILURE: Build failed with an exception.

What went wrong: Execution failed for task ':app:checkDevDebugAarMetadata'. Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'. Could not resolve io.github.vvb2060.ndk:xposeddetector:1.0. Required by: project :app

Could not resolve io.github.vvb2060.ndk:xposeddetector:1.0. Could not get resource 'https://jitpack.io/io/github/vvb2060/ndk/xposeddetector/1.0/xposeddetector-1.0.pom'. Could not GET 'https://jitpack.io/io/github/vvb2060/ndk/xposeddetector/1.0/xposeddetector-1.0.pom'. Received status code 401 from server: Unauthorized Could not resolve io.github.vvb2060.ndk:boringssl:1.0. Required by: project :app Could not resolve io.github.vvb2060.ndk:boringssl:1.0. Could not get resource 'https://jitpack.io/io/github/vvb2060/ndk/boringssl/1.0/boringssl-1.0.pom'. Could not GET 'https://jitpack.io/io/github/vvb2060/ndk/boringssl/1.0/boringssl-1.0.pom'. Received status code 401 from server: Unauthorized

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 53s [!] Gradle threw an error while downloading artifacts from the network.

dominikdoric commented 1 week ago

Hi, did you find solution or workaround for this?

MuhammadUsamaSiddiqui commented 4 days ago

This issue is resolved by updating to the versions which are available on Maven Central:

xposeddetector: https://central.sonatype.com/artifact/io.github.vvb2060.ndk/xposeddetector/versions boringssl: https://central.sonatype.com/artifact/io.github.vvb2060.ndk/boringssl/versions

But I am getting another error which I mentioned here. I guess my project is not compatible with the updated versions.