android报错

找不到org.reactivestreams.Publisher

2019-05-29  本文已影响0人  沙夏cc

好久不写RxJava的代码了,今天编译了一个以前写的demo工程,突然报错。

找不到org.reactivestreams.Publisher的类文件

不知道为什么org.reactivestreams不见了,搜了一下解决方案,需要引入reactive-streams.jar的jar包。
找了下,最好的方案当然是

implementation "org.reactivestreams:reactive-streams:1.0.2"

这样引入啦。

上一篇 下一篇

猜你喜欢

热点阅读