-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glide encountered an abnormal loading of a certain URL, while there are currently no issues with other URLs. #5454
Comments
Partial exception log: |
Is there no one handling the issue with Glide now? |
class:DefaultImageHeaderParser private static final class RandomAccessReader {
the code: data.getShort(offset) |
modify can finish this issue |
Can solve this problem. |
|
This is a recurring issue; I occasionally encounter certain phones that function properly while others do not. The status code is 0x80000000. |
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?
The text was updated successfully, but these errors were encountered: