glide
glide copied to clipboard
Glide encountered an abnormal loading of a certain URL, while there are currently no issues with other URLs.
Loading images through Glide, this way of loading, linking https://i-blog.csdnimg.cn/direct/efed520f694b4f31aa30e236c7bfa0ed.jpeg Cannot load normally.
Specific code: // Glide.with(this) // .load(url) // .into(imageView); or // Glide.with(this) // .asBitmap() // .load(url) // .apply(requestOptions) // .into(new ImageViewTarget<Bitmap>(imageView) { // @Override // protected void setResource(@Nullable Bitmap resource) { // imageView.setImageBitmap(resource); // } // });
By querying the Android folder and glide cache, it can be confirmed that the image download is successful and can be previewed on the PC end. Moreover, images can also be loaded normally through BitmapFactory. decodeFile (filePath, options). Verified by the Picasso framework, it can be loaded normally. So, it can be concluded that the Glide framework encountered problems when parsing into a bitmap. Can you help to query and fix it?