Glide显示图片失败,浏览器能打开

2018-05-18  本文已影响0人  void_Zhao

做个记录,在和后台联调的时候,用Glide加载图片时一直显示不了,但是浏览器能打开显示,使用Glide监听方法调试,error是null,后来比对后台保存和本地图片,发现是图片掉帧导致

调试时候,控制台还会出现下面的日志:

class com.bumptech.glide.load.engine.GlideException: Failed to load resource

Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed >LoadPath{ContentLengthInputStream->GifDrawable->GifDrawable}, REMOTE

Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed >DecodePath{ContentLengthInputStream->GifDrawable->GifDrawable}

上一篇下一篇

猜你喜欢

热点阅读