Open chukhlov opened 1 year ago
Android build works well by replacing repositories
property in a file node_modules/rn-fetch-blob/android/build.gradle
It works on my side
repositories {
mavenLocal()
google()
// jcenter()
mavenCentral()
maven { url "http://maven.google.com" }//Required for crashlytics
maven { url "https://jitpack.io" }
}
Hi! This is also happening to me... Any solutions? It started to happen suddenly too. Thanks!
i tried the solution from areebshakeel https://github.com/joltup/rn-fetch-blob/issues/820
replace the jcenter()
with mavenCentral()
and add configurations
allprojects {
repositories {
...
mavenCentral()
configurations.all {
resolutionStrategy {
// versions used by 0.67
force 'com.squareup.okhttp3:okhttp:3.11.0'
force 'com.facebook.yoga:proguard-annotations:1.19.0'
force 'com.facebook.fbjni:fbjni-java-only:0.2.2'
force 'com.facebook.flipper:flipper:0.99.0'
force 'com.facebook.flipper:flipper-network-plugin:0.99.0'
force 'com.facebook.flipper:flipper-fresco-plugin:0.99.0'
}
}
}
}
i need to add this configuration because my project using 0.63 not 0.65+
it's important to fix it in rn-fetch-blob
and release another version because jcenter won't be available anymore.
I'll try to do it.
Just wanted to say that jcenter gradle repository looks like it's good now. Right now I generated a release and everything works correctly :)
I didn't change anything...
Just switch to https://www.npmjs.com/package/react-native-blob-util Shouldn't be any issue there
I work this added maven { url "https://maven.google.com" } with letter "s" in https
There is an android issue around RN-Fetch-Blob happened suddenly.