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) at com.squareup.okhttp.internal.DiskLruCache.readJournal(DiskLruCache.java:243)

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

    Fail to run app using OkHttp on 'Android L' emulator

    Stack Overflow | 3 years ago | Alécio Carvalho
    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) at com.squareup.okhttp.internal.DiskLruCache.readJournal(DiskLruCache.java:243)
  2. 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)
  3. 0

    FatalException in Android L devices

    GitHub | 3 years ago | Zswayamism
    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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Android L] NoSuchMethodError: No static method source(Ljava/io/File;)Lokio/Source; in class Lokio/Okio;

    GitHub | 3 years ago | StErMi
    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 | 3 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)

    Root Cause Analysis

    1. 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) at com.squareup.okhttp.internal.DiskLruCache.readJournal(DiskLruCache.java:243)

      at com.squareup.okhttp.internal.DiskLruCache.open()
    2. OkHttp
      Cache.<init>
      1. com.squareup.okhttp.internal.DiskLruCache.open(DiskLruCache.java:224)
      2. com.squareup.okhttp.Cache.<init>(Cache.java:146)
      2 frames
    3. Picasso
      Picasso$Builder.build
      1. com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:74)
      2. com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:51)
      3. com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:41)
      4. com.squareup.picasso.Utils$OkHttpLoaderCreator.create(Utils.java:407)
      5. com.squareup.picasso.Utils.createDefaultDownloader(Utils.java:255)
      6. com.squareup.picasso.Picasso$Builder.build(Picasso.java:596)
      6 frames