mcharmas / Android-ReactiveLocation

Small library that wraps Google Play Service API in brilliant RxJava Observables reducing boilerplate to minimum.
2.11k stars 312 forks source link

Failed to resolve io.reactivex:rxjava:2.0.5 #168

Closed AlexanderIgnacz closed 6 years ago

AlexanderIgnacz commented 6 years ago

I tried to add dependency via Gradle and got this error.

Error:(135, 13) Failed to resolve: io.reactivex:rxjava:2.0.5
<a href="openFile:/Volumes/WORKING/Blipic/Wellness-Android-Code/Blipic/app/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>

And here's some of my gradle file content as it is too long.

// Google Map
    compile 'com.google.maps.android:android-maps-utils:0.5+'
    compile 'com.google.android.gms:play-services-maps:11.2.0'
    compile 'com.google.android.gms:play-services-location:11.2.0'
    compile 'com.google.android.gms:play-services-places:11.2.0'

    compile 'pl.charmas.android:android-reactive-location2:2.0@aar'
    compile 'io.reactivex:rxjava:2.0.5' //you can override RxJava version if you need
AlexanderIgnacz commented 6 years ago

Ops, I think it was typo of ReadME file. I changed it to io.reactivex.rxjava2:rxjava:2.0.5.