(Retrofit) Could not locate converter for class crashing app
问题 So Retrofit 2.0.0 was recently released and theres not really any updated examples on how to use it, but im trying to implement it for a basic API call. Im getting a java.lang.IllegalArgumentException: Unable to create converter for class` caused by Caused by: java.lang.IllegalArgumentException: Could not locate converter for class orbyt.app.dataclass. Tried: * retrofit.OkHttpBodyConverterFactory When trying to make the api call. 回答1: I was facing the same issue. I fixed it by adding :