In my case, moving the (hi-res) splash bitmap from drawable to drawable-xxhdpi was the solution.
I had the same problem. I did not suspect that my splash screen was a problem, because it is displayed when the application is running, but it turned out that the splash screen is a problem.
The screensaver in my case has xxhdpi permission, and it was mistakenly placed in a folder with the ability to transfer, not drawable-xxhdpi. This led Android to assume that the screensaver has mdpi resolution and scales the image up to 3 * 3 times when the size is required, and is trying to create a bitmap image.
Zubair rehman
source share