Retrofit illegalargumentexception, no annotation found
问题 So when running my app I'm getting this error: 06-17 12:56:08.547 E/AndroidRuntime(23432): Caused by: java.lang.IllegalArgumentException: XapoService.credit: No Retrofit annotation found. (parameter #1) I have Google searches and found it may be caused by ProGuard. I added the following lines to my ProGuard: -keep class com.google.gson.** { *; } -keep class com.google.inject.** { *; } -keep class org.apache.http.** { *; } -keep class org.apache.james.mime4j.** { *; } -keep class javax.inject.