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

做个记录,在和后台联调的时候,用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}

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。