ERROR: Failed to resolve: io.reactivex.rxjava3:rxandroid:3.0.0-SNAPSHOT
yehuijifeng opened this issue · comments
夜辉疾风 commented
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0-SNAPSHOT'
ERROR: Failed to resolve: io.reactivex.rxjava3:rxandroid:3.0.0-SNAPSHOT
Jake Wharton commented
Did you add the snapshot repository?
JohnE commented
this isn't working for me.. I'll add it to the Readme after you help me ;)
buildscript {
repositories {
google()
jcenter()
maven {
url "https://oss.jfrog.org/libs-snapshot/io/reactivex/rxjava3/rxandroid/"
}
}
}
David Karnok commented
Do it one level up:
buildscript {
// ...
}
repositories {
google()
jcenter()
maven {
url "https://oss.jfrog.org/libs-snapshot"
}
}
Edit: fixed the link.
Godsel commented
Do it one level up:
buildscript { // ... } repositories { google() jcenter() maven { url "https://oss.jfrog.org/libs-snapshot/io/reactivex/rxjava3/rxandroid/" } }
Still not working for me !
David Karnok commented
Right, try removing the /io/reactivex/rxjava3/rxandroid/
part.
JohnE commented
Excellent, thank you for helping!! is this location good too? it seems to work.
allprojects {
repositories {
google()
jcenter()
maven { url "https://oss.jfrog.org/libs-snapshot" }
}
}
PS. put this in the project build.gradle (root build.gradle)
Godsel commented
Right, try removing the
/io/reactivex/rxjava3/rxandroid/
part.
Thanks a lot, it works now