tonyofrancis / Fetch

The best file downloader library for Android
https://www.meta.stackoverflow.com/tags/fetch2
Apache License 2.0
1.63k stars 328 forks source 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'. #647

Open teraiyamayurcontact opened 1 year ago

teraiyamayurcontact commented 1 year ago

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 commented 1 year ago

@teraiyamayurcontact did you find any solution to this ??

jasielmacedo commented 1 year ago

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 commented 1 year ago

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