I recently had to purge a whole bunch of assets from a Flutter Android project because the resulting aab is over 150mb.
This worked for one configuration. For another configuration all the files that were deleted are magically in the build. The files do not physically exist in the repository, or on disk, or in the project.
A colleague of mine ran the exact same flutter appbuild command with the same parameters and got the correct build with the correct assets.
I've done flutter clean thousands of times trying to get the dependencies to work so it's not a case of running flutter clean.
Where is the build getting these files from?