Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | wsavage |
I’ve been trying to export my project for a while, and have been stuck at this annoying roadblock. I’ve set up my editor settings like so, and the only error I get is OpenJDK 6 jarsigner not configured in editor settings
in the export window.
Editor Settings:
adb: /usr/bin/adb
jarsigner: /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner
debug keystore: /home/name/debug.keystore
debug keystore user: androiddebugkey
debug keystore pass: android
The locations for adb and jarsigner is where it is on my system an what I manually entered, as the Godot file explorer hid certain files such as /usr/bin/adb
and /usr/lib/jvm
for some reason.
In addition, I find it odd that Godot refers to OpenJDK 6 when the current version and that used by the tutorial is 8.
Any and all help is appreciated, and please point out anything I did wrong in this post to me, as it is my first.
Thank you!
There shouldn’t be anything wrong with your setup, just try those 2 tips:
-
I am using /usr/bin/jarsigner (which is just a symbolic link to the one u mentioned but maybe it makes a difference).
-
Start Godot from the command line with the debug parameter (-d) it could help you troubleshoot more export issues.
GameVisitor | 2018-09-17 19:09
Thank you for the suggestion. I opened Godot with the -d
flag, and once my project was loaded it gave me this output, and then quit, while leaving the editor open.
ERROR: get_export_preset: Index p_idx=0 out of size (export_presets.size()=0) At: editor/editor_export.cpp:1074. ERROR: get_export_preset: Index p_idx=-1 out of size (export_presets.size()=0) At: editor/editor_export.cpp:1074. ERROR: _name_changed: Condition ' current.is_null() ' is true. At: editor/project_export.cpp:409. ERROR: get_export_preset: Index p_idx=0 out of size (export_presets.size()=0) At: editor/editor_export.cpp:1074. ERROR: get_export_preset: Index p_idx=-1 out of size (export_presets.size()=0) At: editor/editor_export.cpp:1074. ERROR: _name_changed: Condition ' current.is_null() ' is true. At: editor/project_export.cpp:409. ERROR: get_export_preset: Index p_idx=0 out of size (export_presets.size()=0) At: editor/editor_export.cpp:1074. ERROR: get_export_preset: Index p_idx=-1 out of size (export_presets.size()=0) At: editor/editor_export.cpp:1074. ERROR: _name_changed: Condition ' current.is_null() ' is true. At: editor/project_export.cpp:409.
wsavage | 2018-09-17 21:54
@wsavage are you using Godot version 3.0.5 ?
It might have a bug as mentioned here and here.
-
Try using the latest version 3.0.6 or a previous one 3.0.2 (Both were working with me when exporting to Android).
PS: Be sure to use the appropriate export template for each version. -
Failing to use another version, re-download the export template of your current version then retry.
GameVisitor | 2018-09-18 20:10
I’ve been one Godot 3.0.4, as it is latest version maintained via Snap.
wsavage | 2018-09-18 23:23
Can you post a screen shot of your export template dialog such as this ?
GameVisitor | 2018-09-20 12:43
Hello, thank you all for the help. On a whim I updated to v3.0.6, which solved all my problems. I will be marking this as solved.
wsavage | 2018-09-20 21:32