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)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via GitHub by RuellBrown
    ,
  • Stack trace

    • 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(DiskLruCache.java:224) at com.squareup.okhttp.Cache.<init>(Cache.java:146) at com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:74) at com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:51) at com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:41) at com.squareup.picasso.Utils$OkHttpLoaderCreator.create(Utils.java:407) at com.squareup.picasso.Utils.createDefaultDownloader(Utils.java:255) at com.squareup.picasso.Picasso$Builder.build(Picasso.java:596) at com.squareup.picasso.Picasso.with(Picasso.java:473)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.