DidierFuentes
DidierFuentes

Reputation: 87

java lang Verify Error making request on android

I'm trying to make a request to a RESTful API from an android app using retrofit to make the request, signpost to authenticate and retrofit-signpost to connect the two but I'm getting this error on the request:

java.lang.VerifyError: com/squareup/okhttp/internal/http/HttpConnection$AbstractSource

Any idea why this might be?

EDIT: Logcat Error log:

07-02 09:15:30.626 28584-29830/com.example E/dalvikvm﹕ Could not find class 'okio.ForwardingTimeout', referenced from method com.squareup.okhttp.internal.http.HttpConnection$AbstractSource.<init>

Upvotes: 2

Views: 434

Answers (1)

DidierFuentes
DidierFuentes

Reputation: 87

Turns out I was using an outdated version of okio that didn't include the needed class. Just downloaded the latest one from square/okio's github site and it worked.

Upvotes: 0

Related Questions