Android, Failed to cache image, com.bumptech.glide.load.engine.GlideException
I recently upgraded to React Native 0.79.5 (from 0.72) and I'm seeing the following error from the library:
com.bumptech.glide.load.engine.GlideException: Failed to cache image
I have the new architecture disabled for React Native
"react-native-blasted-image": "^1.1.2",
"react-native": "0.79.5",
To help narrow this down, could you please provide a few more details?
- What Android device and Android OS are you seeing this on?
- Does this happen consistently (every image) or only under certain conditions (e.g. large images, certain URLs, network slow)?
- Could you share the exact image URL you are loading (if possible) or sample code showing how you call the <BlastedImage> component?
- Any relevant logs (full stack trace) that accompany the GlideException would also help a lot.
If you can provide that info it will help me dig deeper. Thanks! 🚀
Hi
I have the same problem. I think it's problem with failed cache images in Glide. When Glide can't cached image it except error instead show image. I created patch for check cache errors and it's help me. I also increased storage to 500mb
Try on
Thanks for the report! I will take a closer look at this over the weekend then. I tried to reproduce this myself a few days ago but without any luck.
In the meantime, could you share a bit more info so I can reproduce it properly? • React Native version • Expo version (if using expo) • Android SDK / Gradle versions • Whether the new architecture (Fabric) is enabled • If possible a minimal reproducable example • Full error log or stack trace
That will help narrow it down before i start testing. Thanks! 🚀