I'm getting the crash in android retrofit for release build
Last parameter must be of type Callback<X> or Callback<? super X>.
at retrofit.RestMethodInfo.methodError(Unknown Source)
at retrofit.RestMethodInfo.parseResponseType(Unknown Source)
at retrofit.RestMethodInfo.<init>(Unknown Source)
at retrofit.RestAdapter.getMethodInfo(Unknown Source)
at retrofit.RestAdapter$RestHandler.invoke(Unknown Source)
I tried Proguard rules from this reference Proguard issue while using GSON and https://github.com/square/retrofit/issues/372 but it's not working