Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

rx.java seems not optionable - Failed resolution of rx/Observable$onSubscribe error #51

Closed
rickytribbia opened this issue Nov 18, 2017 · 1 comment

Comments

@rickytribbia
Copy link

Hi,
I added Reservoir to my project where I already use rxJava2. So I try to add Reservoir as dependency without rxJava reference.

Into my gradle file I have only:

compile 'com.anupcowkur:reservoir:3.1.0'

but I give this error:

Rejecting re-init on previously-failed class java.lang.Class<com.anupcowkur.reservoir.Reservoir$1>: java.lang.NoClassDefFoundError: Failed resolution of: Lrx/Observable$OnSubscribe;

I don't really want to add rxJava1 dependency to avoid a mess with rxJava2 imports.

Any suggestions?

@pooja-gaikwad15
Copy link

I am facing the same issue while executing Reservoir.init.. whereas havent implemented async anywhere in my project

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants