Skip to content

Glide encountered an abnormal loading of a certain URL, while there are currently no issues with other URLs. #5454

@marchlqq

Description

@marchlqq

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(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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions