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.

Image won't show (SkImageDecoder::Factory returned null)

See original GitHub issue

Hi! I’m using Picasso to fetch user’s twitter images, but there’re some users whose image is not loading, e.g.:

Picasso.with(getActivity())
.load("http://pbs.twimg.com/profile_images/2784217159/77e958766fe6a841679167ba02acd677.png")
.placeholder(R.drawable.twitter_placeholder)
.resize(216, 216).centerCrop()
.into((ImageView)view.findViewById(R.id.my_image_view));

I’ve noticed that logcat prints this:

D/skia﹕ --- SkImageDecoder::Factory returned null

whenever it happens.

(I’m testing on a Nexus 4 w/ 4.4.2 (API 19))

Did anybody have the same problem?

Thanks!

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:44 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
anonym24commented, Mar 9, 2018

same issue and I’m trying to set resource drawable https://github.com/square/picasso/issues/1807#issuecomment-371800326

          mPicassoInstance
                        .load(R.drawable.ic_folder)
                        .placeholder(R.drawable.ic_folder)
                        .noFade()
                        .into(mImageView);
0reactions
radeshfcommented, Jul 4, 2018

i have same problem and first time i go on map for load image return

skia: — SkImageDecoder::Factory returned null

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android: SkImageDecoder:: Factory returned null
I'm using my localhost to fetch images ...
Read more >
Turn images on or off in Gmail - Android - Google Help
Under "Data usage," tap Images. Tap Always show. Note: If Gmail thinks a sender or message is suspicious, you won't see images automatically....
Read more >
Android Download image appears skimagedecoder::factory ...
... request the picture or will appear skimagedecoder::factory returned NULL,But direct useBitmap = Bitmapfactory.decodestream (IS); is normal, but can't.
Read more >
Reading an image as byte array with Android: skImageDecoder
Coding example for the question Reading an image as byte array with Android: skImageDecoder::Factory returned null-Spring MVC.
Read more >
ImagePicker - Expo Documentation
Represents an asset (image or video) returned by the image picker or camera. Name, Type, Description. assetId (optional), string | null ...
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