Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resolve method subscribe() #191

Open
theGeekyLad opened this issue Oct 24, 2020 · 1 comment
Open

Cannot resolve method subscribe() #191

theGeekyLad opened this issue Oct 24, 2020 · 1 comment

Comments

@theGeekyLad
Copy link

Issue

After initialising mStompClient, calling subscribe() on mStompClient.topic() errors out at compile saying:

Cannot resolve method 'subscribe(<lambda expression>)'

What could be the issue?

Details

  • Java Version (java --version):
    java version "15" 2020-09-15
  • Library Version in build.gradle:
dependencies {
  ...
  implementation 'com.github.NaikSoftware:StompProtocolAndroid:1.6.3'
}
  • Screenshot:
    image
@szakerx
Copy link

szakerx commented Feb 4, 2021

Try putting RxJava2 on your classpath.

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

No branches or pull requests

2 participants