Are you running any plugins? If so try disabling those and test if it errors. Also, could you post the full packaging log? Some things up above the ‘build failed’ section are usually helpful. The Exit Code=1 is a fairly broad error. Thanks!
I decided to create an empty android project and do an aab build and it packaged just fine apparently. Makes me think it is something in my projects settings, not the android studio installation or something else on my PC.
Another thing you can try is creating a new empty project, then copying the “Content” folder from the project with the error into the new project. Sometimes, this fixes unknown errors.
I was going to recommend the same thing Lowen did and try rebuilding it over on an empty project(Migrating to a new project to test) and see if the error remains.