liujingxing / rxlife

一行代码解决RxJava 内存泄漏,一款轻量级别的RxJava生命周期管理库
Apache License 2.0
359 stars 38 forks source link

引入最新的rxlife-rxjava2报错 #16

Closed mycrossroads closed 3 years ago

mycrossroads commented 3 years ago

rxlife-rxjava2_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.会报这个错误。但是使用implementation 'com.rxjava.rxlife:rxlife-x:1.0.8'就没有问题,求大神指导

liujingxing commented 3 years ago

升级kotlin版本即可,可参考https://github.com/liujingxing/rxhttp/issues/251