0 votes

I've been searching everywhere for a solution to why every export I'm trying to do ends with a jarsigner error.

I've generated my keystore over and over many times,, changed all export settings in Godot both in the Project Export dialog and in the Editor Preferences dialog.

Nothing worked. I always got the same jarsigner error in the end.

asked Feb 8 in Engine by unfa (178 points)

2 Answers

0 votes

I've found out why. I had JDK (Java Development Kit) version 7 installed, but I should only use 6 or 8 (really 8, because 6 is super old).

On Manjaro (or any other Arch-based Linux distribution) what I had to do was to install the jdk8-openjdk package and then check out what files it installed.

I was mislead by the fact it didn't put anything into /usr/bin - so I was unable to locate the jarsigner binary at first. But it's there. It's full path was /usr/lib/jvm/java-8-openjdk/bin/jarsigner

I've put that into Godot's Editor Preferences and it finally was able to sign my APK.

Another note regarding One-Click Deploy - you don't have to install Android Studio.
You just need adb.

What I had to do was install the adb package and then run adb devices command.
This triggered my phone and it asked me for permission to allow my PC to connect via adb.

Only once I have confirmed that did Godot show the One-Click Deploy button, because it had access to my mobile device.

answered Feb 8 by unfa (178 points)
0 votes

i had same problem and it resolved for me when i deleted the entries in the export menu
the debug section the keystore ,user name and password .
just make it empty there and fill it only in the editor,editor settings ,export, android

i hope this solve the problem for some one

answered May 25 by boy_hax (24 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.