question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Picasso 3 & 2.71828: cannot access Source class file for okio.Source not found

See original GitHub issue

I get such error for line return new Result(bm, Picasso.LoadedFrom.DISK);

    private class VideoRequestHandler extends RequestHandler {

        @Override
        public boolean canHandleRequest(Request data) {
            return ("video".equals(data.uri.getScheme()));
        }

        @Override
        public Result load(Request data, int arg1) throws IOException {
            Bitmap bm = ThumbnailUtils.createVideoThumbnail(data.uri.getPath(), MediaStore.Images.Thumbnails.MINI_KIND);
            return new Result(bm, Picasso.LoadedFrom.DISK);
        }
    }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
NightlyNexuscommented, Jun 5, 2018

new Picasso.Builder().addRequestHandler(...)...build() and then reuse this Picasso instance.

1reaction
anonym24commented, Mar 18, 2018

well I cloned from this git 2.5.2, 2.7 & 3 versions only 2.5.2 worked, there was no difference how I added every library to my project

Read more comments on GitHub >

github_iconTop Results From Across the Web

Okio source cannot be read inside a Kotlin Coroutine
Open and buffer the file source together. You are keeping the buffered source alive while waiting for the coroutine to run on the...
Read more >
Webview not working when we updated smack to 4.4.4
we are using Smack version 4.4.4 in my app, Everything is working fine in dev flavor when proguard is not enabled but when...
Read more >
Change Log - Okio
okio :okio-jvm:3.x.x ) for Maven builds. This should work-around an issue where Maven doesn't interpret Gradle metadata. Fix: Change CipherSource ...
Read more >
open_source_license_VMware_...
The VMware Product that includes this file does not necessarily use all the open source software packages referred to below and may also...
Read more >
Third Party Software Licenses - Amazon Customer Service
Square Picasso; version 2.71828 -- http://square.github.io/picasso/ ... including but not limited to software source code, documentation source,.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found