我正在使用房间数据库,需要将 rxKotlin 添加到我的项目中,所以当我使用此代码时:
`implementation 'io.reactivex.rxjava2:rxkotlin:2.0.1'`
我收到此错误:
`ERROR: Failed to resolve: io.reactivex.rxjava2:rxkotlin:2.0.1`
我该如何解决?
我正在使用房间数据库,需要将 rxKotlin 添加到我的项目中,所以当我使用此代码时:
`implementation 'io.reactivex.rxjava2:rxkotlin:2.0.1'`
我收到此错误:
`ERROR: Failed to resolve: io.reactivex.rxjava2:rxkotlin:2.0.1`
我该如何解决?
这是正确的回购
implementation 'io.reactivex.rxjava2:rxkotlin:2.0.1-RC1'
在这里您可以找到可供选择的版本列表:
https://mvnrepository.com/artifact/io.reactivex.rxjava2/rxkotlin