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