How To: Fix “apksigner error” When Exporting for Android with Godot

If you go to export your Godot project as an Android .apk file and you get the following error ‘apksigner’ returned with error #1:

‘apksigner’ returned with error #1

Ensure that in the Android -> Export -> Options you either:

  1. Left ‘Debug’, ‘Debug User’, AND ‘Debug Password’ blank (in which case, Godot will fallback to the keystore provided in the ‘Editor…