I had a hard time figuring out how to compile my projects with openfl 4.3.
It turned out that the new android build tools 24.0.1 are only supplying 64bit executables. Which resulted in aapt exit code 2.
Delete the contents of “build-tools/24.0.1” and put in all the files from "build-tools/23.0.3"
Adjust the package.xml (bottom of the file) to look like 24.0.1 (path/revision)