Build failed! Error due to AAPT

Hi guys, I am facing AAPT buid error while exporting my app. i also checked .aia file with winRAR but there is no another project under another folder or like versa as i searched on Community before posting this post. Can someone please bring some light on this issue?

Build failed! Error: Your build failed due to an error in the AAPT stage, not because of an error in your program


Kodular is unable to compile this project.
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 styles xml
________Creating drawables xml v21
________Checking for firebase
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
YAIL compiler - AAPT execution failed.

Glob_BethelBuyBook.aia (522.3 KB)

Your help will be a lot appreciated.


You are using Deephost MYSQL. Please search in community regarding this issue. No help will be provided regarding deephost added apps… better remove it and recompile… may be other too could be but first try this

1 Like

just now tried removing deephost’s mysql extension but still problem is same

Maybe due to that dreamers toggle group become in its properties it is clearly mentioned minsdk as 7 but based on 1.5.4, minSDK must be 21

If possible remove and test also keep another extension

Simply go to project settings, in Theming and see if theme is set. Using DeepHost’s SQL extension doesn’t cause problems in compiling but crash app when open

Once theme is set compiles with no errors


Hy @dora_paz thanks for your reply. This really solves my problem. Also thanks @Still-learning for your Quick help. But after i complied it and install the app, app is continuosly crashing.

Remove SQL extension

Thanks for the solutions :innocent:

1 Like

@dora_paz Please Pin this Reply or Create a Post and Pin it to Prevent from Creating new topics

1 Like

thanks, you just saved me

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.