[macOS] Switch android tools installation to use cmdline-tools' sdkmanager (#3686)

* Switch android installation to use cmdline-tools
* Switch android-toolsets and xamarin-android-ndk to use new sdkmanager
* Remove cmdline-tools installation from toolset as it's installed
* Remove redundant steps with warning prevention
* Remove hardcoded licenses as they are accepted during the installation
* Add tests to check that both sdkmanagers are available
* Simplify Get-AndroidInstalledPackages function to use list_installed

* Change regex pattern to output the group
* Currently the function returns 4. instead of 4.0, this change fixes it
This commit is contained in:
Mikhail Timofeev
2021-07-07 15:16:23 +03:00
committed by GitHub
parent 7d0d3aa82a
commit cc3405ff7a
7 changed files with 46 additions and 44 deletions

View File

@@ -164,8 +164,7 @@
],
"additional-tools": [
"cmake;3.10.2.4988404",
"cmake;3.18.1",
"cmdline-tools;latest"
"cmake;3.18.1"
],
"ndk": {
"lts": "21",