java.lang.NoClassDefFoundError: okio/ForwardingTimeout

GitHub | troinine | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    GitHub | 8 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