Confirmed users
975
edits
| Line 25: | Line 25: | ||
== Downloading tools on non-Linux machines == | == Downloading tools on non-Linux machines == | ||
You can't run the `android` binary locally so you'll have to download the tools from the URLs directly: | You can't run the `android` binary locally so you'll have to download the tools from the URLs directly: | ||
# Run `android list sdk` - it'll output it the source XML for the various tools it can install. For the primary | # Run `android list sdk` - it'll output it the source XML for the various tools it can install. For the primary packages, this is currently located [https://dl.google.com/android/repository/repository-10.xml here]. | ||
# Open the url (e.g. `curl <url> | less`) and look through the XML for the tools at the versions you need them. The XML tags follow a pattern: | # Open the url (e.g. `curl <url> | less`) and look through the XML for the tools at the versions you need them. The XML tags follow a pattern: | ||
** Tools: <sdk:tool> | ** Tools: <sdk:tool> | ||
| Line 31: | Line 31: | ||
** Platform tools: <sdk:platform-tool> | ** Platform tools: <sdk:platform-tool> | ||
** Build tools: <sdk:build-tool> | ** Build tools: <sdk:build-tool> | ||
** Android Support Library | ** Android Support Library: (separate xml file) <sdk:extra> | ||
** Google Play services | ** Google Play services: (separate xml file) <sdk:extra> | ||
# Look for an <sdk:url> tag. If it's a full url, you're in! Otherwise, guess at the URL based on where you downloaded the SDK and look at some other urls in the file. | # Look for an <sdk:url> tag. If it's a full url, you're in! Otherwise, guess at the URL based on where you downloaded the SDK and look at some other urls in the file. See the [[#Example URLs|example URLs]]. | ||
=== Example URLs === | === Example URLs === | ||