I\'m using Retrofit 2.0 in my app. Everything was quite good, but when I started request with no args, GSON returns:
Unable to invoke no-args constructor for
You have the same name for interface (interface GetPhones) and model class (class GetPhones).
interface GetPhones
class GetPhones
I think you are using interface in this line:
Call> getPhones();
But it should be your model class. Check import section for it or rename model class to be sure that you are not mixing it.