Android: SkImageDecoder:: Factory returned null

前端 未结 5 1072
[愿得一人]
[愿得一人] 2020-11-29 07:58

I\'m using my localhost to fetch images and to view in an ImageView. For some reason I\'m getting Factory returned null error. I\'ve looked through the code many times and I

5条回答
  •  执念已碎
    2020-11-29 08:47

    This might be a rare case but for those of you using Picasso you'll see this error if you try to load an image from URL but the URL doesn't refer to an image.

    For example:
    http://www.google.ca
    instead of:
    https://www.google.ca/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png

提交回复
热议问题