How to fix "- Code signing: 'apksigner' failed #1" error in Godot when exporting a project to Android?

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

Reinstalled OpenJDK, changed version to 17, deleted and recreated keys. Nothing helps

What Godot version are you using?

umma | 2023-05-09 22:36

Godot version 3.5.2

Rard | 2023-05-09 22:46

I had this problem before, I think it may have something to do with android studio files not being installed properly or missing in the sdk folder.

umma | 2023-05-09 22:59

These kinds of problems are difficult to assist with via the forum because they are almost always related to a misconfiguration of some sort on your local system. While I don’t know what the issue here is, I can say that I’ve configured multiple Godot 3.5.2 systems (both Windows and Linux) to successfully export Android builds by doing nothing more than (carefully) following the content in the Exporting for Android pages of the docs.

I know that’s probably not helpful, but maybe double-check your configuration steps?

jgodfrey | 2023-05-09 23:54

Ok, thank you

Rard | 2023-05-10 18:08

ok, thanks i will try that

Rard | 2023-05-10 18:11