godot icon indicating copy to clipboard operation
godot copied to clipboard

Add an option to install Android templates via CLI

Open thebestnom opened this issue 4 years ago • 12 comments

Allows to install Android template from cli, good for CI and quick devlopment (not tested yet... would like some feedback before compiling godot main a million times)

@akien-mga @HEAVYPOLY As we talked in RocketChat (crrently you'll need to first copy the zp file to correct directory)

if we need a way to install by path it would take significaly more work (currently the only thing that does somthing like that is the download template which heavily relise on the UI and does things Im not familiar enough to replicate)

  • Bugsquad edit: This closes https://github.com/godotengine/godot/issues/38327.

thebestnom avatar Jul 07 '21 20:07 thebestnom

#50481 implemented support for install the source template from an arbitrary path (in the editor). This could likely be reused to make it possible to support both pre-installed Android templates and custom ones from CLI too.

akien-mga avatar Oct 27 '21 07:10 akien-mga

I did put WIP here because I waited for that 😄

thebestnom avatar Oct 27 '21 09:10 thebestnom

Whats the status of this?

reduz avatar Jul 30 '22 10:07 reduz

This needs to be cross-reviewed with the newer attempt by @AntonioDell #63408.

akien-mga avatar Jul 30 '22 10:07 akien-mga

I like the implied --editor approach better than mine. If they are functionally equivalent, I suggest using this implementation instead of mine :D Nice work!

AntonioDell avatar Jul 30 '22 19:07 AntonioDell

Anything need to be changed here in order to work? Didn't had the time for a lot of time 😅

thebestnom avatar Jul 31 '22 12:07 thebestnom

@akien-mga I think we can close this, correct?

thebestnom avatar Aug 08 '22 08:08 thebestnom

Well we need to see which implementation is best between #50264 and #63408 or a mix of the two.

akien-mga avatar Aug 08 '22 09:08 akien-mga

Oh, I tought it was merged for some reason

thebestnom avatar Aug 08 '22 09:08 thebestnom

https://github.com/godotengine/godot/pull/63408 was closed in favor of this by its author. So we should finalize this one. @thebestnom Please rebase this and also amend the commit message to state something like "Add an option to install Android templates via CLI".

YuriSizov avatar Jun 20 '23 12:06 YuriSizov

What is currently stopping this from moving forward?

fabianPas avatar Oct 02 '24 13:10 fabianPas

Both the backlog from reviewers, but also the fact that the author isn't active anymore, and this PR is still in draft status. Someone would need to take it over to bring it to the finish line.

It doesn't seem too far from ready, so I may do it myself, but I'm already spread pretty thin. So anyone is welcome to give it a go.

akien-mga avatar Oct 02 '24 13:10 akien-mga

This was superseded almost two years ago now by #85819, which added a --install-android-build-template argument. That "new" argument was however only documented fairly recently, in godotengine/godot-docs#11052.

mihe avatar Nov 12 '25 11:11 mihe

  • Superseded by https://github.com/godotengine/godot/pull/85819. Thanks for the contribution nonetheless!

Calinou avatar Nov 13 '25 01:11 Calinou