In my application i want use Retrofit for get some data from server. I write below codes but when run application and call api show me below error :
You need to add a gsonconverter factory before building your api service interface.
Retrofit retrofit = new Retrofit.Builder() .baseUrl(BASE_URL) .addConverterFactory(GsonConverterFactory.create()) .build(); retrofit.create(apiservice.class)