SkImageDecoder::Factory returned null

前端 未结 1 760
没有蜡笔的小新
没有蜡笔的小新 2021-01-19 03:32

I\'m programming on Android and read images from a remote URL with this call

BitmapFactory.decodeStream( ....

Random, I get the error:

相关标签:
1条回答
  • I also had this problem... eventually i found out that the image was too big and that caused the error. I suggest you try an image that you know will fit more or less. also you can use the lib picasso:

    Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView);
    

    But for me even with picasso ive got the error... again because the image was too big.

    hope it helps (:

    0 讨论(0)
提交回复
热议问题