我面临着同样的问题。我通过添加来修复它:
compile 'com.squareup.retrofit2:converter-gson:<latest-version>'
到我的build.gradle
然后在创建我的Retrofit实例时指定转换器。
Retrofit retrofit = new Retrofit.Builder() .baseUrl(Constants.API_base_URL) .addConverterFactory(GsonConverterFactory.create()) .build();



