I have a lot of different flavors for my build that have specific resources and I don\'t want to clutter my src directory in my project with a bunch of flavor-specific direc
I had the same issue. The build would break and mention different png files, like your background_4.png, but only on a Windows PC. The build on a Mac had no problems.
In my case the image size was the problem. Only images bigger than 2MB seamed to break the build. After reducing every image to something lesser than 2MB the build started working again.