HI,
I was trying to Compile My Project and it returns this error :
Build failed! Error: Your build failed due to an error in the AAPT stage, not because of an error in your program
I think it because of my error because I am making an extension and I am testing it out. I thought its a Problem with my extension but when the app Worked in Companion I got confused. This is the Log:
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/…
________Creating listview xml in res/layout-v21/…
________Creating xml in res/drawable/…
________Creating splash png in res/drawable/…
________Creating colors xml
________Creating strings xml
________Creating styles xml
________Creating styles xml v21
________Creating drawables xml v21
________Checking for firebase
________Creating provider_path xml
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
YAIL compiler - AAPT execution failed.
Can I get a Debug of this? Or does anyone know why this issue is triggered?
None of that worked for me, so I started over from scratch, and imported screens & copied blocks. Tiresome but it worked. I did, however, run into the same problem, but after building the project every 5-10 minutes, I was able to isolate when it stopped working and back up a few steps. I’d say compiling often is a good way to ward off future AAPT failures. BTW, some sort of undo would be a great addition to the project. Not complaining, I think Kodular is great!