Retrofit: "RxJava2 Adapter" jar not found

Created on 21 Feb 2017  路  3Comments  路  Source: square/retrofit

  • download link is broken
  • can't find it in maven

All 3 comments

Hi! Maybe you have similar issue I had:
http://stackoverflow.com/questions/41140203/using-rxjava-2-and-retrofit-2-adapter-version-issue/41140375

The fact that adapter has version 2.*.* does not mean that it is intended for use with RxJava 2, as I thought.

compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0' // won't work with RxJava 2

Here is the repository of Jake Wharton with [Retrofit 2 to RxJava 2 adapter][1].
Attention: it is temporary repository till RxJava 2 will have stable release.

And if you want to get it from gradle, here is the line:

compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0' // works with RxJava 2

P.s. I would be glad if it helps and you add you upvote my answer)

you should use this one: compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'

Dupe of #2151.

Was this page helpful?
0 / 5 - 0 ratings