Rxjava version2.X之后:
To allow having RxJava 1.x and RxJava 2.x side-by-side, RxJava 2.x is under the maven coordinates io.reactivex.rxjava2:rxjava:2.x.y
and classes are accessible below io.reactivex
.
版本1.X:io.reactivex
版本2.X:
io.reactivex.rxjava2:rxjava:2.x.y
详情见;
https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0