Skip to content
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

Caused by: org.gradle.api.resources.ResourceException: Could not get resource 'https://jitpack.io/com/tonyodev/fetch2/fetch2/3.0.12/fetch2-3.0.12.pom'. #647

Open
teraiyamayurcontact opened this issue Nov 5, 2022 · 3 comments

Comments

@teraiyamayurcontact
Copy link

Caused by: org.gradle.api.resources.ResourceException: Could not get resource 'https://jitpack.io/com/tonyodev/fetch2/fetch2/3.0.12/fetch2-3.0.12.pom'.

@fariya12
Copy link

@teraiyamayurcontact did you find any solution to this ??

@jasielmacedo
Copy link

jasielmacedo commented Dec 23, 2022

I'm getting a similar error when using other package that depends on this one

Execution failed for task ':app:checkQaReleaseAarMetadata'.
> Could not resolve all files for configuration ':app:qaReleaseRuntimeClasspath'.
   > Could not resolve com.github.tonyofrancis.Fetch:xfetch2:3.1.6.
     Required by:
         project :app > project :react-native-background-downloader
      > Could not resolve com.github.tonyofrancis.Fetch:xfetch2:3.1.6.
         > Could not get resource 'https://www.jitpack.io/com/github/tonyofrancis/Fetch/xfetch2/3.1.6/xfetch2-3.1.6.pom'.
            > Could not GET 'https://www.jitpack.io/com/github/tonyofrancis/Fetch/xfetch2/3.1.6/xfetch2-3.1.6.pom'. Received status code 521 from server: 
   > Could not resolve com.github.tonyofrancis.Fetch:xfetch2okhttp:3.1.6.
     Required by:
         project :app > project :react-native-background-downloader
      > Could not resolve com.github.tonyofrancis.Fetch:xfetch2okhttp:3.1.6.
         > Could not get resource 'https://www.jitpack.io/com/github/tonyofrancis/Fetch/xfetch2okhttp/3.1.6/xfetch2okhttp-3.1.6.pom'.
            > Could not GET 'https://www.jitpack.io/com/github/tonyofrancis/Fetch/xfetch2okhttp/3.1.6/xfetch2okhttp-3.1.6.pom'. Received status code 521 from server:

@manifestement
Copy link

In your build.gradle file, change the implementation call with :
implementation 'com.github.tonyofrancis.Fetch:xfetch2:3.1.6'

See : https://jitpack.io/#tonyofrancis/Fetch/3.1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants