The App Bundles thread was getting a bit long and branch-y, so I’ll mention AAPT2 stuff here.
I ran my large project with UseAAPT2 enabled and got the correct error messages about needing to rename
.android-xml files to
.xml. After doing this, I encountered a new error running aapt2:
E: The filename or extension is too long
D: | at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo).
This immediately follows the call to
aapt2.exe, which in my project was given 344 full-path items, the total command length being ~44k characters. Not sure to what degree this is limited, but it looks like
aapt2 may need to be called multiple times after all…