AAPT execution failed

hola buenas noches, quisiera saber por qué me da este error al momento de hacer la apk, pero al momento de emular todo no me da ningún error ¿Qué puedo hacer? soy nuevo en programación y necesito tenerlo listo para el lunes, ayuda :frowning:

App Inventor no ha podido compilar el proyecto.
El error de compilación es
________Preparing application icon
________Creating animation xml
________Creating style xml
________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.

Hello Martin

Many things can cause an AAPT error. Here are some discussions https://community.appinventor.mit.edu/search?q=AAPT%20execution%20failed

A guess is the issue is your custom application icon. Set the Custom Icon back to the default icon. Then compile your Project again. What happens?

If the custom icon is not the issue causing the AAPT error, please read the other possibilities in the above link.

Regards,
Steve

1 Like

Hi Martin

Any luck so far?

You might like to go through my checklist:
https://www.professorcad.co.uk/appinventortips#TipsApk Cannot Build/Install/Run APK

In particular, the most common AAPT (Android Asset Packaging Tool) errors are:

  1. Images that are not Optimised for Android (including the App Icon, as mentioned by Steve)
  2. An out-of-date extension
1 Like

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