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

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!

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 44 (1 by maintainers)

Most upvoted comments

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);