Service methods cannot return void. retrofit

There is difference in Asynchronous in Retrofit 1.9 and 2.0 /* Synchronous in Retrofit 1.9 */ public interface APIService { @POST(“/list”) Repo loadRepo(); } /* Asynchronous in Retrofit 1.9 */ public interface APIService { @POST(“/list”) void loadRepo(Callback<Repo> cb); } But on Retrofit 2.0, it is far more simple since you can declare with only just … Read more

Unable to create call adapter for io.reactivex.Observable

You need to tell Retrofit that you want to use RxJava 2, using: addCallAdapterFactory(RxJava2CallAdapterFactory.create()) So, for creating your Retrofit object, you will have something like: Retrofit retrofit = new Retrofit.Builder() .baseUrl(SERVICE_ENDPOINT) .addCallAdapterFactory(RxJava2CallAdapterFactory.create()) .build();

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)