what does Method getResources not annotated with request type (e.g., GET, POST) mean?

后端 未结 3 1276
鱼传尺愫
鱼传尺愫 2021-01-19 06:02
private interface ResourcesApi {
        @POST(\"/synchronize\")
        void getResources(@Body Map> map,
                           


        
3条回答
  •  暖寄归人
    2021-01-19 06:22

    In addition to Jake's answer, this is what I had to add to my proguard file to get it to work correctly:

    -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.** { *; }
    -keep class retrofit.** { *; }
    

提交回复
热议问题