java.lang.NoClassDefFoundError: okio/ForwardingTimeout

GitHub | troinine | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Dependency issue when using OkHttp 2.x and 3.x based releases in the same application

    GitHub | 9 months ago | troinine
    java.lang.NoClassDefFoundError: okio/ForwardingTimeout

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      okio/ForwardingTimeout

      at okhttp3.internal.http.Http1xStream.newFixedLengthSource()
    2. okhttp3.internal.http
      HttpEngine.readNetworkResponse
      1. okhttp3.internal.http.Http1xStream.newFixedLengthSource(Http1xStream.java:236)
      2. okhttp3.internal.http.Http1xStream.getTransferStream(Http1xStream.java:144)
      3. okhttp3.internal.http.Http1xStream.openResponseBody(Http1xStream.java:129)
      4. okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:732)
      4 frames