StompProtocolAndroid icon indicating copy to clipboard operation
StompProtocolAndroid copied to clipboard

Cannot resolve method subscribe()

Open theGeekyLad opened this issue 5 years ago • 1 comments

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

theGeekyLad avatar Oct 24 '20 17:10 theGeekyLad

Try putting RxJava2 on your classpath.

szakerx avatar Feb 04 '21 20:02 szakerx