solve error: cannot access Publisher in Android Studio?

后端 未结 5 1401
野的像风
野的像风 2021-01-02 07:36

I am getting this error while compilation of my code:

Can anyone help me how to solve this error or what might be causing this error?

Edit1: Gradle

5条回答
  •  春和景丽
    2021-01-02 08:29

    Try to update latest versions:

    1. RxJava: io.reactivex.rxjava2:rxjava
    2. RxAndroid: io.reactivex.rxjava2:rxandroid

    Then, AndroidStudio -> File -> invalidate Cashes/Restart.

    It helped me.

提交回复
热议问题