Hello App Inventor community and team,
I have recently opened a Pull Request (#3803) aiming to modernize App Inventor's build toolchain by integrating AAPT2 to handle resource compilation and linking for APK and AAB builds.
As the Android ecosystem evolves, newer libraries, dependencies, and .aar files increasingly rely on modern resource syntax, features, and shorthand tag declarations (such as modern <id name="..."/> configurations).
The legacy aapt tool currently utilized by App Inventor's build server struggles with parsing these updated resource standards. When extension developers try to bundle modern third-party libraries or updated AAR packages, it frequently results in cryptic resource compilation crashes or build server failures.
This PR updates the internal build pipeline to utilize the AAPT2 to resolve this issue.
I would love to get feedback from the team on this approach, discuss any potential edge cases on the build server, and see how we can move this forward toward integration.
Looking forward to your thoughts and insights!
Best regards,
Jewel