Load local gif cause GlideException: Failed to load resource
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
Glide Version: 4.9.0
OS Version: P(and some other versions)
Load some downloaded gif failed
``` Java
W/Glide: Load failed for file:///storage/emulated/0/xxx/xxx.gif with size [648x362]
class com.bumptech.glide.load.engine.GlideException: Failed to load resource
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{FileInputStream->GifDrawable->GifDrawable}, LOCAL
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{FileInputStream->GifDrawable->GifDrawable}
```
Failed image

Contributor guide
Research direction
Start by reproducing the reported local GIF load on Android with Glide 4.9.0 using the file URI and dimensions shown. Inspect the logged FileInputStream-to-GifDrawable LoadPath and DecodePath; done means the downloaded GIF loads successfully without GlideException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100