Error en la generación de apk, icon issue

Try removing your app icon.

Porque sucede eso, hice lo que me dijiste y funciono, mil gracias

what it means. I have encountered the same issue as well.
On January 13th, I exported as an APK without any issues.

If you are having build problems, show your log.

I exported the APK before January 13th without any issues. Has MIT been updated?

App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.005 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 1
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] Component activities needed, n = 1
[LoadComponentInfo] INFO: Component "com.LukeGackle.WebViewTools.WebViewTools" does not specify activityMetadata
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.HorizontalScrollHandler" does not specify activityMetadata
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.VerticalScrollHandler" does not specify activityMetadata
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] INFO: Component "com.LukeGackle.WebViewTools.WebViewTools" does not specify services
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.HorizontalScrollHandler" does not specify services
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.VerticalScrollHandler" does not specify services
[LoadComponentInfo] Component content providers needed, n = 0
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] Libraries needed, n = 0
[LoadComponentInfo] INFO: Component "com.LukeGackle.WebViewTools.WebViewTools" does not specify metadata
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.HorizontalScrollHandler" does not specify metadata
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.VerticalScrollHandler" does not specify metadata
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.HorizontalScrollHandler" does not specify androidMinSdk
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.VerticalScrollHandler" does not specify androidMinSdk
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.ActivityStarter" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Button" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Clock" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Form" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.HorizontalArrangement" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.HorizontalScrollArrangement" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Image" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Label" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.ListPicker" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.VerticalArrangement" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.VerticalScrollArrangement" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.WebViewer" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.LukeGackle.WebViewTools.WebViewTools" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.HorizontalScrollHandler" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.KIO4_AniGif.KIO4_AniGif" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "de.ullisroboterseite.ursai2sidebar.UrsAI2SideBar" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.sunny.CustomWebView.CustomWebView" does not specify permissionConstraints
[LoadComponentInfo] usesLocation = True
[LoadComponentInfo] Permissions needed, n = 18
[LoadComponentInfo] INFO: Component "com.LukeGackle.WebViewTools.WebViewTools" does not specify queries
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.HorizontalScrollHandler" does not specify queries
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.VerticalScrollHandler" does not specify queries
[LoadComponentInfo] INFO: Component "com.KIO4_AniGif.KIO4_AniGif" does not specify queries
[LoadComponentInfo] INFO: Component "com.sunny.CustomWebView.BrowserPromptHelper" does not specify queries
[LoadComponentInfo] INFO: Component "com.sunny.CustomWebView.CustomWebView" does not specify queries
[LoadComponentInfo] INFO: Component "com.sunny.CustomWebView.DownloadHelper" does not specify queries
[LoadComponentInfo] INFO: Component "com.LukeGackle.WebViewTools.WebViewTools" does not specify services
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.HorizontalScrollHandler" does not specify services
[LoadComponentInfo] INFO: Component "cn.colintree.aix.ScrollArrangementHandlers.VerticalScrollHandler" does not specify services
[LoadComponentInfo] Component services needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] Task succeeded in 0.004 seconds
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating mipmap dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] Task errored

MIT is not supporting jpg icons now.... change it to png

Will it be modified? These are all extensions... How come only one format is suddenly changed?

Hola de nuevo,

Ayer elimine el icono de mi app y me dejó compilar, pero hoy intente volver hacerlo ya no me dejó quite toda la multimedia del proyecto y tampoco no entiendo que pasa

App Inventor no ha podido compilar el proyecto.
El error de compilación es
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.004 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 0
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] Component activities needed, n = 1
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] Component content providers needed, n = 0
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] Libraries needed, n = 1
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Button" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Form" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.HorizontalArrangement" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Image" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Label" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.ListPicker" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Notifier" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.PasswordTextBox" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Spinner" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.TextBox" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.TinyDB" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.VerticalArrangement" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Web" does not specify permissionConstraints
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 6
[LoadComponentInfo] Component services needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] Task succeeded in 0.004 seconds
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating mipmap dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] Generating icons for mipmap-mdpi
[PrepareAppIcon] Generating icons for mipmap-hdpi
[PrepareAppIcon] Generating icons for mipmap-xhdpi
[PrepareAppIcon] Generating icons for mipmap-xxhdpi
[PrepareAppIcon] Generating icons for mipmap-xxxhdpi
[PrepareAppIcon] Task succeeded in 1.139 seconds
[XmlConfig] Starting Task
[XmlConfig] INFO: Creating animation xml
[XmlConfig] Creating zoom_enter.xml
[XmlConfig] Creating fadeout.xml
[XmlConfig] Creating slide_v_exit.xml
[XmlConfig] Creating fadein.xml
[XmlConfig] Creating zoom_exit.xml
[XmlConfig] Creating slide_v_enter.xml
[XmlConfig] Creating zoom_exit_reverse.xml
[XmlConfig] Creating slide_v_enter_reverse.xml
[XmlConfig] Creating zoom_enter_reverse.xml
[XmlConfig] Creating slide_enter_reverse.xml
[XmlConfig] Creating slide_exit.xml
[XmlConfig] Creating hold.xml
[XmlConfig] Creating slide_enter.xml
[XmlConfig] Creating slide_v_exit_reverse.xml
[XmlConfig] Creating slide_exit_reverse.xml
[XmlConfig] INFO: Creating style xml
[XmlConfig] INFO: Creating provider_path xml
[XmlConfig] INFO: Creating network_security_config xml
[XmlConfig] INFO: Generating adaptive icon file
[XmlConfig] INFO: Generating round adaptive icon file
[XmlConfig] INFO: Generating adaptive icon background file
[XmlConfig] Task succeeded in 0.005 seconds
[CreateManifest] Starting Task
[CreateManifest] INFO: Reading project specs...
[CreateManifest] VCode: 1
[CreateManifest] VName: 1.0
[CreateManifest] Min SDK 7
[CreateManifest] INFO: Writing screen 'appinventor.ai_startdatus.SDMMYM2_Screen_punto de control1.RESEARCH'
[CreateManifest] INFO: Writing screen 'appinventor.ai_startdatus.SDMMYM2_Screen_punto de control1.PEDIDOS'
[CreateManifest] INFO: Writing screen 'appinventor.ai_startdatus.SDMMYM2_Screen_punto de control1.Screen1'
[CreateManifest] INFO: Writing screen 'appinventor.ai_startdatus.SDMMYM2_Screen_punto de control1.Screen2'
[CreateManifest] Task succeeded in 0.001 seconds
[AttachNativeLibs] Starting Task
[AttachNativeLibs] Task succeeded in 0.0 seconds
[AttachAarLibs] Starting Task
[AttachAarLibs] Task succeeded in 0.152 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.001 seconds
[MergeResources] Starting Task
[MergeResources] Task succeeded in 0.175 seconds
[SetupLibs] Starting Task
[SetupLibs] Task succeeded in 0.0 seconds
[RunAapt] Starting Task
[RunAapt] ERROR: Error running AAPT
[RunAapt] Task errored in 0.822 seconds
.

See

If error persists, export aia and post it here.

For AAPT errors, see

I'm still getting the error...

[LoadComponentInfo] Task succeeded in 0.018 seconds
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating mipmap dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] Task errored

yes, i saw jpg to png issue, but the lead software engineer (ewpatton) said "We've identified the root cause of the issue and are working on a fix," and I don't see his response that the "fix" is to change to png. I'd rather not make any changes if the true fix -- to handle jpg's as before -- is still in the works

From the topic you didn't post in....

There are a few dozen build servers.
Maybe the fix needed time to propagate, and you were unlucky?
Retry your build?

Thanks for your reply. Yes, I've been retrying every 5-10 minutes (and just now), and have logged off and on ; and also tried firefox vs. chrome. Still same error.

Are you building on ai2 or code? The problem isn't fixed on code yet.

Using ai2. . I had a 593x381 w x h jpg that worked for years. I just changed it to a png, and that works.

It's true that I violate the icon restriction -- "The image used for your App's display icon should be a square png or jpeg image with dimensions up to 1024x1024 pixels. Larger images may cause compiling or installing the app to fail. The build server will generate images of standard dimensions for Android devices." -- but it says the server will generate a correct image.

It works, so it's fine by me, but it's not working the way it was yesterday, so there may still be some bug....thanks

Can you share with me the JPEG image, our code is supposed to resize it to meet the icon requirements? Now we did change out the code we use, so there may be another bug we need to chase down...

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