0

我正在使用房间数据库,需要将 rxKotlin 添加到我的项目中,所以当我使用此代码时:

`implementation 'io.reactivex.rxjava2:rxkotlin:2.0.1'`

我收到此错误:

`ERROR: Failed to resolve: io.reactivex.rxjava2:rxkotlin:2.0.1`

我该如何解决?

4

2 回答 2

0

这是正确的回购

implementation 'io.reactivex.rxjava2:rxkotlin:2.0.1-RC1'
于 2019-05-28T13:49:41.660 回答
0

在这里您可以找到可供选择的版本列表:

https://mvnrepository.com/artifact/io.reactivex.rxjava2/rxkotlin

于 2019-05-28T13:52:49.293 回答