Skip to content
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

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

Open
Hyyzt opened this issue Aug 12, 2024 · 3 comments

Comments

@Hyyzt
Copy link

Hyyzt commented Aug 12, 2024

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?

@AndroidLMY
Copy link

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

@Hyyzt
Copy link
Author

Hyyzt commented Nov 28, 2024

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

@AndroidLMY
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants