java.lang. RuntimeException No Retrofit annotation found. (parameter #3)
问题 I'm trying to update this RetroFit + Otto tutorial, so my code updated is: IWeather.java RetroFit 2.+ doesn't allow to return void , so instead of void getWeather(...) I added Call<Weather> getWeather(...) . public interface IWeather { @GET("/{latitude},{longitude}") Call<Weather> getWeather(@Path("latitude") String latitude, @Path("longitude") String longitude, Callback<Weather> callback); } ForecastClient.java RetroFit 2.+ has changed his constructor, so the new ForecastClient has the next