java.lang.NoSuchMethodError: No static method source(Ljava/net/Socket;)Lokio/Source; in class Lokio/Okio; or its super classes (declaration of 'okio.Okio' appears in /system/framework/okhttp.jar)

GitHub | hao-tian | 2 months ago
  1. 0

    GitHub comment 567#249122066

    GitHub | 2 months ago | hao-tian
    java.lang.NoSuchMethodError: No static method source(Ljava/net/Socket;)Lokio/Source; in class Lokio/Okio; or its super classes (declaration of 'okio.Okio' appears in /system/framework/okhttp.jar)
  2. 0

    NoSuchMethodError Okio on Android L

    GitHub | 2 years ago | egor-n
    java.lang.NoSuchMethodError: No static method source(Ljava/net/Socket;)Lokio/Source; in class Lokio/Okio; or its super classes (declaration of 'okio.Okio' appears in /system/framework/okhttp.jar)
  3. 0

    Android L use okio with exception

    GitHub | 2 years ago | freshopenair
    java.lang.NoSuchMethodError: No static method source(Ljava/net/Socket;)Lokio/Source; in class Lokio/Okio; or its super classes (declaration of 'okio.Okio' appears in /system/framework/okhttp.jar)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crashing on Android L

    GitHub | 2 years ago | RuellBrown
    java.lang.NoSuchMethodError: No static method source(Ljava/io/File;)Lokio/Source; in class Lokio/Okio; or its super classes (declaration of 'okio.Okio' appears in /system/framework/okhttp.jar)
  6. 0

    OkHttp (Okio) conflicts with /system/framework/okhttp.jar on Android L Preview

    GitHub | 2 years ago | luciofm
    java.lang.NoSuchMethodError: No static method source(Ljava/io/File;)Lokio/Source; in class Lokio/Okio; or its super classes (declaration of 'okio.Okio' appears in /system/framework/okhttp.jar)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      No static method source(Ljava/net/Socket;)Lokio/Source; in class Lokio/Okio; or its super classes (declaration of 'okio.Okio' appears in /system/framework/okhttp.jar)

      at okhttp3.internal.connection.RealConnection.connectSocket()
    2. okhttp3.internal.connection
      ConnectInterceptor.intercept
      1. okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:191)
      2. okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:173)
      3. okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)
      4. okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:193)
      5. okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:129)
      6. okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:98)
      7. okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
      7 frames
    3. okhttp3.internal.http
      RealInterceptorChain.proceed
      1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
      2 frames
    4. okhttp3.internal.cache
      CacheInterceptor.intercept
      1. okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:109)
      1 frame
    5. okhttp3.internal.http
      RealInterceptorChain.proceed
      1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
      3. okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
      4. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      5. okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:124)
      6. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
      7. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
      7 frames
    6. okhttp3
      RealCall$AsyncCall.execute
      1. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170)
      2. okhttp3.RealCall.access$100(RealCall.java:33)
      3. okhttp3.RealCall$AsyncCall.execute(RealCall.java:120)
      3 frames
    7. okhttp3.internal
      NamedRunnable.run
      1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames