Godot android Gradle error

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Falcon

I’ve got this issue while compiling my project to android by custom build.
enter image description here


:bust_in_silhouette: Reply From: LuizTM

Hi :slight_smile:

according to this issue, java - Android studio - Failed to complete gradle execution - error in opening zip file - Stack Overflow

  • “An “error in opening zip file” tends to mean that a file that Gradle has downloaded has somehow become corrupted – this might be the download of Gradle itself (which the wrapper does), or a dependency that Gradle has downloaded to run your build. Gradle doesn’t attempt to detect or resolve the problem, so you need to fix it manually. The solution is often to purge Gradle’s download caches and let it get fresh copies of what it needs. To do that, delete the .gradle directories in both your home directory and in your project’s root directory and try building again.”

Maybe this can help you too - java - Gradle sync failed: Cause: error in opening zip file Corrupt Dependency Cache - Stack Overflow