No Retrofit annotation found. (parameter #1)
Addition to Destil's answer
Make sure the parameters
you pass to the retrofit interface methods(i.e callbacks, headers, body )
are only belongs to retrofit package
. e.g. Not custom callbacks that you want on your own.
My problem was that I had the @POST
annotation, but forgot the @Body
annotation for the parameter.