glide icon indicating copy to clipboard operation
glide copied to clipboard

Fatal Exception: java.lang.IllegalStateException Cannot recycle a resource while it is still acquired

Open Hyyzt opened this issue 1 year ago • 3 comments
trafficstars

Version:4.16.0 Device: Samsung,Xiaomi,Oppo,vivo ,etc The issuse found on the firebase for long time, today i try to reslove it. I had some new potins about it. The issuse was only uploaded when the app screen is in the background . so i check it when it was in background ,i preload some resource in some times,but it was not cleared all request when the app is in background, i used the preload method and application scope, it will get the issuse when the app was from background to front, Is it possible? If it is possible , stop all request when it was in background, resume all request when it was in front, is it resloved?

Hyyzt avatar Aug 12 '24 02:08 Hyyzt

Did you solve it, I have the same problem now, and the number of firebase reports is quite high

AndroidLMY avatar Nov 28 '24 03:11 AndroidLMY

Did you solve it, I have the same problem now, and the number of firebase reports is quite high

no,it still exists,This method has no obvious effect

Hyyzt avatar Nov 28 '24 10:11 Hyyzt

I tried customizing the ImageView to override the onDraw method for try catch interception

AndroidLMY avatar Nov 28 '24 10:11 AndroidLMY