godot: [3.2.4.rc1] Android custom build export failed on icons merge
Godot version: 3.2.4.rc1.official
OS/device including version: Windows 10
Issue description: Export using custom build template failed:
Debug:
* What went wrong:
Execution failed for task ':processDebugResources'.
> Could not resolve all files for configuration ':debugRuntimeClasspath'.
> Failed to transform godot-lib.debug.aar to match attributes {artifactType=android-compiled-dependencies-resources}.
> Execution failed for AarResourcesCompilerTransform: C:\Users\poqxe\.gradle\caches\transforms-2\files-2.1\292c13cebff2ac459e69cf36eef145a8\jetified-godot-lib.debug.
> AAPT2 aapt2-4.1.0-6503028-windows Daemon #0: Unexpected error during compile 'C:\Users\poqxe\.gradle\caches\transforms-2\files-2.1\292c13cebff2ac459e69cf36eef145a8\jetified-godot-lib.debug\res\mipmap\icon.png', attempting to stop daemon.
Release:
> Task :stripReleaseDebugSymbols
Unable to strip the following libraries, packaging them as they are: libc++_shared.so, libgodot_android.so.
> Task :mergeReleaseResources
> Task :mergeReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mergeReleaseResources'.
> Multiple task action failures occurred:
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> AAPT2 aapt2-4.1.0-6503028-windows Daemon #0: Unexpected error during compile 'D:\Projects\Test324\android\build\res\drawable\splash_bg_color.png', attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> AAPT2 aapt2-4.1.0-6503028-windows Daemon #3: Unexpected error during compile 'D:\Projects\Test324\android\build\res\mipmap-xxxhdpi-v4\icon.png', attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> AAPT2 aapt2-4.1.0-6503028-windows Daemon #1: Unexpected error during compile 'D:\Projects\Test324\android\build\res\mipmap-xhdpi-v4\icon_foreground.png', attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> AAPT2 aapt2-4.1.0-6503028-windows Daemon #2: Unexpected error during compile 'D:\Projects\Test324\android\build\res\mipmap-xxhdpi-v4\icon_foreground.png', attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> AAPT2 aapt2-4.1.0-6503028-windows Daemon #4: Unexpected error during compile 'D:\Projects\Test324\android\build\res\mipmap\icon_foreground.png', attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> AAPT2 aapt2-4.1.0-6503028-windows Daemon #5: Unexpected error during compile 'D:\Projects\Test324\android\build\res\mipmap-xxhdpi-v4\icon.png', attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> AAPT2 aapt2-4.1.0-6503028-windows Daemon #6: Unexpected error during compile 'D:\Projects\Test324\android\build\res\drawable\splash.png', attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> AAPT2 aapt2-4.1.0-6503028-windows Daemon #7: Unexpected error during compile 'D:\Projects\Test324\android\build\res\mipmap-hdpi-v4\icon_foreground.png', attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
Steps to reproduce:
- Create project.
- Install Android Build Template
- Add Android export and set “Custom Build”
- Setup keystore.
- Export project and get failed
Minimal reproduction project: Default project
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (17 by maintainers)
Yes. It resolve the issue.
I changed
androidGradlePluginversion inconfig.gradleto3.5.3(as in Godot 3.2.3) and the project built without errors. (but there are warnings about deprecated code)