feat(cli): detect Android env and install SDK and NDK if needed (#14094)

* feat(cli): detect Android env and install SDK and NDK if needed

changes the Android setup to be a bit more automated - looking up ANDROID_HOME and NDK_HOME from common system paths and installing the Android SDK and NDK if needed using the command line tools

* fix windows

* clippy

* lint

* add prmopts and ci check

* also check ANDROID_SDK_ROOT
This commit is contained in:
Lucas Fernandes Nogueira
2025-10-01 09:33:14 -03:00
committed by GitHub
parent 4188ffdafc
commit 673867aa0e
11 changed files with 290 additions and 48 deletions

3
Cargo.lock generated
View File

@@ -8627,6 +8627,7 @@ dependencies = [
"css-color",
"ctrlc",
"dialoguer",
"dirs 6.0.0",
"duct",
"dunce",
"elf",
@@ -8687,7 +8688,9 @@ dependencies = [
"url",
"uuid",
"walkdir",
"which",
"windows-sys 0.60.2",
"zip 4.0.0",
]
[[package]]