Godot 4.7 on Linux: "Release Username and/or Password is invalid for the given Release Keystore"

Godot Version

Godot Steam 4.7-stable

Question

Hi! I’m using Godot 4.7-stable on Linux (Bazzite) and I’m having trouble exporting my Android project.

Godot gives me this error:

[Export]: Release Username and/or Password is invalid for the given Release Keystore

I’m sure the keystore values are correct because I verified them manually. I also checked that I have all the required Android SDK/JDK components and Android Studio requirements, just like I had on Windows, where Android exports worked without any problems.

However, on Linux/Bazzite, the export fails with this error.

Things I’ve already tried:

  • Verified the keystore alias and passwords.
  • Verified that the Android SDK and required components are correctly installed.
  • Tried exporting with different keystores, with the same result.
  • Deleted the .godot folder and tried again.
  • Recreated the keystore from scratch, but the error still occurs.

Has anyone experienced this on Godot 4.7 + Linux/Bazzite? Could this be related to the Java/JDK configuration or something specific to the Linux setup?

Any ideas on what else I should check would be greatly appreciated.