godot-docs icon indicating copy to clipboard operation
godot-docs copied to clipboard

How to compile Godot Editor for Android

Open AndyAnon14 opened this issue 3 years ago • 6 comments

Godot version: 3.5

Issue description: Would like to see a guide on how to compile the Godot Editor for Android. The current guide only shows how to compile an Android Template, and not the full editor.

URL to the documentation page: https://docs.godotengine.org/en/latest/development/compiling/compiling_for_android.html

AndyAnon14 avatar Aug 18 '22 22:08 AndyAnon14

To compile the editor for Android, the two changes you need to make to the build steps are:

  1. Use the tools=yes target=release_debug SCons option.
  2. Use ./gradlew generateGodotEditor instead of ./gradlew generateGodotTemplates in platform/android/java to create the APK.

Feel free to open a pull request for this :slightly_smiling_face:

Calinou avatar Aug 18 '22 23:08 Calinou

Thank you for the clarification. I will open a pull request for the edits.

AndyAnon14 avatar Aug 19 '22 00:08 AndyAnon14

Issue closed, clarification provided in comments.

AndyAnon14 avatar Aug 19 '22 19:08 AndyAnon14

Reopening, as this still needs to be documented.

Calinou avatar Aug 19 '22 19:08 Calinou

Opened a pull request; https://github.com/godotengine/godot-docs/pull/6089

AndyAnon14 avatar Aug 20 '22 01:08 AndyAnon14

Submitted pull request #6115 to update the instructions to include compiling the Godot Editor for Android.

AndyAnon14 avatar Aug 27 '22 00:08 AndyAnon14

Closing this issue as #6115 fixed it.

skyace65 avatar Dec 28 '22 14:12 skyace65