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
This was really helpful. I had the same issue and it worked by replacing Call with MyObject in the interface where we write the function for the API call request followed by removing .enque at the call site.
Call
MyObject
.enque