Problems using latest jars from Square - retrofit, okhttp, okio and okhttp-urlconnection Problems using latest jars from Square - retrofit, okhttp, okio and okhttp-urlconnection jenkins jenkins

Problems using latest jars from Square - retrofit, okhttp, okio and okhttp-urlconnection


This was finally solved but required multiple changes.

  1. I updated the jdk to 7 on the node running Jenkins.
  2. I updated the android sdk tools
  3. I added the following to proguard:

    -dontwarn com.facebook.android.BuildConfig-dontwarn rx.**-dontwarn okio.**-dontwarn com.squareup.okhttp.*-dontwarn retrofit.appengine.UrlFetchClient-keepattributes *Annotation*-keep class retrofit.** { *; }-keepclasseswithmembers class * {    @retrofit.http.* <methods>; }-keepattributes Signature


Update your dx, part of your android SDK.