Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | AviY |
I basically messed up somehow, followed the Godot docs on how to export to android, downloaded everything in the docs, and exported just fine.
Two days ago when trying to export, I got a message " ‘apksigner’ returned with error #1.
I followed many guides on how to solve this general problem, literally tried everything, then I came across a Q&A that said to completely delete everything that is related to the android exporting, giving a full list of items, and so deleted everything and reinstalled again (the full list in the docs including debug.keystore), and nothing worked.
so I tried to use a custom build in the export tab, and it finally gave me a more detailed error but I’m too much of a noob to understand what I’m suppose to do.
The error is:
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
FAILURE: Build failed with an exception.
- What went wrong:
Gradle could not start your build.
Could not create service of type CrossBuildFileHashCache using BuildSessionServices.createCrossBuildFileHashCache().
Failed to create parent directory ‘D:\Projects\GitHub***\android\build.gradle’ when creating directory 'D:\Projects\GitHub***\android\build.gradle\7.2\fileHashes’
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 2s
Exit Code: 1
Sorry for the long post, but i literally tried everything i found online to solve this issue and i’m just desperate at this point.
so i think i solved the problem somehow? i changed the unique name when exporting and it seemed to work fine? i hope its a valid solution for anyone stuck with this problem aswell