Closed OBKF closed 8 years ago
You need JDK 6. Also system needs to know where your java is installed, so you need for example if you use oracles jdk6: export JAVA_HOME=/usr/lib/jvm/java-6-oracle
In this case the jarsigner should be located for at /usr/lib/jvm/java-6-oracle/bin . You should be able to also run it from that directory.
Apk does not run cause it is not signed.
You need JDK 6.
As far as I know OpenJDK 8 works fine too.
I have used OpenJDK 7 recently, and it's fine.
I used JDK 7 before, but wanted to be save when helping and I remember that official wiki says about JDK 6.
@godotengine/documentation The wiki needs to be fixed indeed:
i have found it in /usr/lib/jvm/java-8-oracle/bin i have now a problem with
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar jarsigner error: java.lang.RuntimeException: keystore load: Keystore was tampered with, or password was incorrect returned: 4753, waiting for: 4753 ERROR: add_io_error: 'jarsigner' returned with error #1 At: tools/editor/editor_node.cpp:3879. TextureButton: 16,-4 Label: 146,63 HBoxContainer: 53,27 ERROR: export_platform: Exporting failed! At: tools/editor/project_export.cpp:528.
IIRC I fixed this in the documentation.
@Oussama-dev About your last comment, it seems that your keystore is invalid, you might have to generate a new one.
Hello, I am trying to export my game to apk in Ubuntu but i can't find the jarsigner binary, when i use the
jarsigner
command in the terminal i got this:Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Usage: jarsigner [options] jar-file alias jarsigner -verify [options] jar-file [alias...]
i tried to use it for the export but the apk doesn't run on my phone.