Fetch
Fetch copied to clipboard
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'.
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'.
@teraiyamayurcontact did you find any solution to this ??
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:
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