Networkonmainthreadexception With Retrofit-beta2 And Rxjava August 07, 2024 Post a Comment I recently upgraded from retroft-beta1 and this was working. I have the following interface for the API: public interface Service { @POST('path') Observable s Solution 1: From retrofit-beta2, calls to Observable methods now behave synchronously. So subscribeOn must be used: service.service() .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(); Copy Share You may like these postsLarge Amount Of Unit Tests Cause Freezes With Failed Binder TransactionAndroid Get Mapview On Fling Stopped AnimatingEdittext Decimal ValueError Parsing Jsonarray Returned From .net Web Service Post a Comment for "Networkonmainthreadexception With Retrofit-beta2 And Rxjava"