godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.79k stars 3.07k forks source link

Docs for Android export is missing a step for using the keytool command line. #8483

Open Johnrobmiller opened 10 months ago

Johnrobmiller commented 10 months ago

Regarding the docs to setup Android export:

https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_android.html

I was unable to follow these docs. The docs instruct to use this command to generate a debug.keytool:

keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12

However, I get the error keytool : The term 'keytool' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I am on Windows 11

The docs need to be modified so that users do not run into that error when following the instructions.

Johnrobmiller commented 10 months ago

In this case, Java was not installed on my laptop. The docs should not assume Java is installed on the user's PC. The PATH environment variable also needed to be manually set to the Java bin. The docs should not assume this has already been done.

I can add these changes to the docs myself if you'd like. How do I do that? Is it just markdown or HTML?

ghost commented 7 months ago

@Johnrobmiller Is the installation of Java separate to the installation of OpenJDK 17? The docs do mention the need to install that...