Skip to content

Instantly share code, notes, and snippets.

@eagletmt
Last active August 19, 2024 22:54
Show Gist options
  • Select an option

  • Save eagletmt/73a0d33d3d9c2aeb31c30ee05fed528b to your computer and use it in GitHub Desktop.

Select an option

Save eagletmt/73a0d33d3d9c2aeb31c30ee05fed528b to your computer and use it in GitHub Desktop.
List installable Android SDK packages (similar to sdkmanager --verbose --list)
package main
import (
"encoding/xml"
"fmt"
"io/ioutil"
"log"
"net/http"
)
type Sdk struct {
Licenses []License `xml:"license"`
Channels []Channel `xml:"channel"`
RemotePackages []RemotePackage `xml:"remotePackage"`
}
type License struct {
Id string `xml:"id,attr"`
Type string `xml:"type,attr"`
Text string `xml:",chardata"`
}
type Channel struct {
Id string `xml:"id,attr"`
Name string `xml:",chardata"`
}
type RemotePackage struct {
Path string `xml:"path,attr"`
DisplayName string `xml:"display-name"`
Revision Revision `xml:"revision"`
Archives []Archive `xml:"archives>archive"`
ChannelRef ChannelRef `xml:"channelRef"`
UsesLicense UsesLicense `xml:"uses-license"`
Dependencies []Dependency `xml:"dependencies>dependency"`
}
type Revision struct {
Major string `xml:"major"`
Minor string `xml:"minor"`
Micro string `xml:"micro"`
}
func (r *Revision) String() string {
s := r.Major
if r.Minor != "" {
s += "." + r.Minor
if r.Micro != "" {
s += "." + r.Micro
}
}
return s
}
type Archive struct {
HostOs string `xml:"host-os"`
HostBits uint `xml:"host-bits"`
Size uint64 `xml:"complete>size"`
Checksum string `xml:"complete>checksum"`
Url string `xml:"complete>url"`
}
type ChannelRef struct {
Ref string `xml:"ref,attr"`
}
type UsesLicense struct {
Ref string `xml:"ref,attr"`
}
type Dependency struct {
Path string `xml:"path,attr"`
MinRevision Revision `xml:"min-revision"`
}
func main() {
baseUrl := "https://dl.google.com/android/repository"
resp, err := http.Get(baseUrl + "/repository2-1.xml")
if err != nil {
log.Fatal(err)
}
if resp.StatusCode != 200 {
log.Fatalf("Unable to get repository2-1.xml: status=%d", resp.StatusCode)
}
sdk := Sdk{}
data, err := ioutil.ReadAll(resp.Body)
resp.Body.Close()
if err != nil {
log.Fatal(err)
}
err = xml.Unmarshal(data, &sdk)
if err != nil {
log.Fatal(err)
}
licenses := map[string]License{}
for _, license := range sdk.Licenses {
licenses[license.Id] = license
}
channels := map[string]Channel{}
for _, channel := range sdk.Channels {
channels[channel.Id] = channel
}
for _, pkg := range sdk.RemotePackages {
fmt.Printf("%s (revision: %s) [channel: %s, license: %s]\n", pkg.Path, pkg.Revision.String(), channels[pkg.ChannelRef.Ref].Name, licenses[pkg.UsesLicense.Ref].Id)
fmt.Printf(" %s\n", pkg.DisplayName)
fmt.Println(" Archives:")
for _, archive := range pkg.Archives {
hostOs := "generic"
if archive.HostOs != "" {
if archive.HostBits == 0 {
hostOs = archive.HostOs
} else {
hostOs = fmt.Sprintf("%s%d", archive.HostOs, archive.HostBits)
}
}
fmt.Printf(" %s: %s/%s (size: %d, checksum: %s)\n", hostOs, baseUrl, archive.Url, archive.Size, archive.Checksum)
}
if len(pkg.Dependencies) != 0 {
fmt.Printf(" Dependencies(%d):\n", len(pkg.Dependencies))
for _, dep := range pkg.Dependencies {
fmt.Printf(" %s", dep.Path)
if dep.MinRevision.Major != "" {
fmt.Printf(" >= %s", dep.MinRevision.String())
}
fmt.Println("")
}
}
}
}
tools (revision: 25.2.5) [channel: stable, license: android-sdk-license]
Android SDK Tools 25.2.5
Archives:
linux: https://dl.google.com/android/repository/tools_r25.2.5-linux.zip (size: 277894900, checksum: 72df3aa1988c0a9003ccdfd7a13a7b8bd0f47fc1)
macosx: https://dl.google.com/android/repository/tools_r25.2.5-macosx.zip (size: 200529982, checksum: d2168d963ac5b616e3d3ddaf21511d084baf3659)
windows: https://dl.google.com/android/repository/tools_r25.2.5-windows.zip (size: 306785944, checksum: a7f7ebeae1c8d8f62d3a8466e9c81baee7cc31ca)
Dependencies(2):
patcher;v4
platform-tools >= 20
platforms;android-25 (revision: 3) [channel: stable, license: android-sdk-license]
Android SDK Platform 25
Archives:
generic: https://dl.google.com/android/repository/platform-25_r03.zip (size: 85424763, checksum: 00c2c5765e8988504be10a1eb66ed71fcdbd7fe8)
platforms;android-24 (revision: 2) [channel: stable, license: android-sdk-license]
Android SDK Platform 24
Archives:
generic: https://dl.google.com/android/repository/platform-24_r02.zip (size: 82648154, checksum: 8912da3d4bfe7a9f28f0e5ce92d3a8dc96342aee)
platforms;android-23 (revision: 3) [channel: stable, license: android-sdk-license]
Android SDK Platform 23
Archives:
generic: https://dl.google.com/android/repository/platform-23_r03.zip (size: 70433421, checksum: 027fede3de6aa1649115bbd0bffff30ccd51c9a0)
platforms;android-22 (revision: 2) [channel: stable, license: android-sdk-license]
Android SDK Platform 22
Archives:
generic: https://dl.google.com/android/repository/android-22_r02.zip (size: 66852371, checksum: 5d1bd10fea962b216a0dece1247070164760a9fc)
platforms;android-21 (revision: 2) [channel: stable, license: android-sdk-license]
Android SDK Platform 21
Archives:
generic: https://dl.google.com/android/repository/android-21_r02.zip (size: 65897960, checksum: 53536556059bb29ae82f414fd2e14bc335a4eb4c)
platforms;android-20 (revision: 2) [channel: stable, license: android-sdk-license]
Android SDK Platform 20
Archives:
generic: https://dl.google.com/android/repository/android-20_r02.zip (size: 63567784, checksum: a9251f8a3f313ab05834a07a963000927637e01d)
platforms;android-19 (revision: 4) [channel: stable, license: android-sdk-license]
Android SDK Platform 19
Archives:
generic: https://dl.google.com/android/repository/android-19_r04.zip (size: 63871092, checksum: 2ff20d89e68f2f5390981342e009db5a2d456aaa)
platforms;android-18 (revision: 3) [channel: stable, license: android-sdk-license]
Android SDK Platform 18
Archives:
generic: https://dl.google.com/android/repository/android-18_r03.zip (size: 57771739, checksum: e6b09b3505754cbbeb4a5622008b907262ee91cb)
platforms;android-17 (revision: 3) [channel: stable, license: android-sdk-license]
Android SDK Platform 17
Archives:
generic: https://dl.google.com/android/repository/android-17_r03.zip (size: 57030216, checksum: dbe14101c06e6cdb34e300393e64e64f8c92168a)
platforms;android-16 (revision: 5) [channel: stable, license: android-sdk-license]
Android SDK Platform 16
Archives:
generic: https://dl.google.com/android/repository/android-16_r05.zip (size: 48128695, checksum: 12a5ce6235a76bc30f62c26bda1b680e336abd07)
platforms;android-15 (revision: 5) [channel: stable, license: android-sdk-license]
Android SDK Platform 15
Archives:
generic: https://dl.google.com/android/repository/android-15_r05.zip (size: 44533475, checksum: 69ab4c443b37184b2883af1fd38cc20cbeffd0f3)
platforms;android-14 (revision: 4) [channel: stable, license: android-sdk-license]
Android SDK Platform 14
Archives:
generic: https://dl.google.com/android/repository/android-14_r04.zip (size: 46038082, checksum: d4f1d8fbca25225b5f0e7a0adf0d39c3d6e60b3c)
platforms;android-13 (revision: 1) [channel: stable, license: android-sdk-license]
Android SDK Platform 13
Archives:
generic: https://dl.google.com/android/repository/android-3.2_r01.zip (size: 108426536, checksum: 6189a500a8c44ae73a439604363de93591163cd9)
platforms;android-12 (revision: 3) [channel: stable, license: android-sdk-license]
Android SDK Platform 12
Archives:
generic: https://dl.google.com/android/repository/android-3.1_r03.zip (size: 106472351, checksum: 4a50a6679cd95bb68bb5fc032e754cd7c5e2b1bf)
platforms;android-11 (revision: 2) [channel: stable, license: android-sdk-license]
Android SDK Platform 11
Archives:
generic: https://dl.google.com/android/repository/android-3.0_r02.zip (size: 104513908, checksum: 2c7d4bd13f276e76f6bbd87315fe27aba351dd37)
platforms;android-10 (revision: 2) [channel: stable, license: android-sdk-license]
Android SDK Platform 10
Archives:
generic: https://dl.google.com/android/repository/android-2.3.3_r02.zip (size: 85470907, checksum: 887e37783ec32f541ea33c2c649dda648e8e6fb3)
platforms;android-9 (revision: 2) [channel: stable, license: android-sdk-license]
Android SDK Platform 9
Archives:
generic: https://dl.google.com/android/repository/android-2.3.1_r02.zip (size: 78732563, checksum: 209f8a7a8b2cb093fce858b8b55fed3ba5206773)
platforms;android-8 (revision: 3) [channel: stable, license: android-sdk-license]
Android SDK Platform 8
Archives:
generic: https://dl.google.com/android/repository/android-2.2_r03.zip (size: 74652366, checksum: 231262c63eefdff8fd0386e9ccfefeb27a8f9202)
platforms;android-7 (revision: 3) [channel: stable, license: android-sdk-license]
Android SDK Platform 7
Archives:
generic: https://dl.google.com/android/repository/android-2.1_r03.zip (size: 70142829, checksum: 5ce51b023ac19f8738500b1007a1da5de2349a1e)
platforms;android-6 (revision: 1) [channel: stable, license: android-sdk-license]
Android SDK Platform 6
Archives:
linux: https://dl.google.com/android/repository/android-2.0.1_r01-linux.zip (size: 79192618, checksum: ce2c971dce352aa28af06bda92a070116aa5ae1a)
macosx: https://dl.google.com/android/repository/android-2.0.1_r01-macosx.zip (size: 79035527, checksum: c3096f80d75a6fc8cb38ef8a18aec920e53d42c0)
windows: https://dl.google.com/android/repository/android-2.0.1_r01-windows.zip (size: 80385601, checksum: 255781ebe4509d9707d0e77edda2815e2bc216e6)
platforms;android-5 (revision: 1) [channel: stable, license: android-sdk-license]
Android SDK Platform 5
Archives:
linux: https://dl.google.com/android/repository/android-2.0_r01-linux.zip (size: 75095268, checksum: be9be6a99ca32875c96ec7f91160ca9fce7e3c7d)
macosx: https://dl.google.com/android/repository/android-2.0_r01-macosx.zip (size: 74956356, checksum: 2a866d0870dbba18e0503cd41e5fae988a21b314)
windows: https://dl.google.com/android/repository/android-2.0_r01-windows.zip (size: 76288040, checksum: aeb623217ff88b87216d6eb7dbc846ed53f68f57)
platforms;android-4 (revision: 3) [channel: stable, license: android-sdk-license]
Android SDK Platform 4
Archives:
linux: https://dl.google.com/android/repository/android-1.6_r03-linux.zip (size: 63454485, checksum: 483ed088e45bbdf3444baaf9250c8b02e5383cb0)
macosx: https://dl.google.com/android/repository/android-1.6_r03-macosx.zip (size: 62418496, checksum: bdafad44f5df9f127979bdb21a1fdd87ee3cd625)
windows: https://dl.google.com/android/repository/android-1.6_r03-windows.zip (size: 64654625, checksum: ce0b5e4ffaf12ca4fd07c2da71a8a1ab4a03dc22)
platforms;android-3 (revision: 4) [channel: stable, license: android-sdk-license]
Android SDK Platform 3
Archives:
linux: https://dl.google.com/android/repository/android-1.5_r04-linux.zip (size: 53348669, checksum: 5c134b7df5f4b8bd5b61ba93bdaebada8fa3468c)
macosx: https://dl.google.com/android/repository/android-1.5_r04-macosx.zip (size: 52440607, checksum: d3a67c2369afa48b6c3c7624de5031c262018d1e)
windows: https://dl.google.com/android/repository/android-1.5_r04-windows.zip (size: 54624370, checksum: 5bb106d2e40d481edd337b0833093843e15fe49a)
platforms;android-2 (revision: 1) [channel: stable, license: android-sdk-license]
Android SDK Platform 2
Archives:
linux: https://dl.google.com/android/repository/android-1.1_r1-linux.zip (size: 45476658, checksum: c054d25c9b4c6251fa49c2f9c54336998679d3fe)
macosx: https://dl.google.com/android/repository/android-1.1_r1-macosx.zip (size: 45584305, checksum: e21dbcff45b7356657449ebb3c7e941be2bb5ebe)
windows: https://dl.google.com/android/repository/android-1.1_r1-windows.zip (size: 46828615, checksum: a4060f29ed39fc929c302836d488998c53c3002e)
sources;android-25 (revision: 1) [channel: stable, license: android-sdk-license]
Sources for Android 25
Archives:
generic: https://dl.google.com/android/repository/sources-25_r01.zip (size: 30822685, checksum: bbc72efd1a9bad87cc507e308f0d29aad438c52c)
sources;android-24 (revision: 1) [channel: stable, license: android-sdk-license]
Sources for Android 24
Archives:
generic: https://dl.google.com/android/repository/sources-24_r01.zip (size: 30270410, checksum: 6b96115830a83d654479f32ce4b724ca9011148b)
sources;android-23 (revision: 1) [channel: stable, license: android-sdk-license]
Sources for Android 23
Archives:
generic: https://dl.google.com/android/repository/sources-23_r01.zip (size: 31771965, checksum: b0f15da2762b42f543c5e364c2b15b198cc99cc2)
sources;android-22 (revision: 1) [channel: stable, license: android-sdk-license]
Sources for Android 22
Archives:
generic: https://dl.google.com/android/repository/sources-22_r01.zip (size: 28861236, checksum: 98320e13976d11597a4a730a8d203ac9a03ed5a6)
sources;android-21 (revision: 1) [channel: stable, license: android-sdk-license]
Sources for Android 21
Archives:
generic: https://dl.google.com/android/repository/sources-21_r01.zip (size: 28274751, checksum: 137a5044915d32bea297a8c1552684802bbc2e25)
sources;android-20 (revision: 1) [channel: stable, license: android-sdk-license]
Sources for Android 20
Archives:
generic: https://dl.google.com/android/repository/sources-20_r01.zip (size: 23367603, checksum: 8da3e40f2625f9f7ef38b7e403f49f67226c0d76)
sources;android-19 (revision: 2) [channel: stable, license: android-sdk-license]
Sources for Android 19
Archives:
generic: https://dl.google.com/android/repository/sources-19_r02.zip (size: 21819439, checksum: 433a1d043ef77561571250e94cb7a0ef24a202e7)
sources;android-18 (revision: 1) [channel: stable, license: android-sdk-license]
Sources for Android 18
Archives:
generic: https://dl.google.com/android/repository/sources-18_r01.zip (size: 20226735, checksum: 8b49fdf7433f4881a2bfb559b5dd05d8ec65fb78)
sources;android-17 (revision: 1) [channel: stable, license: android-sdk-license]
Sources for Android 17
Archives:
generic: https://dl.google.com/android/repository/sources-17_r01.zip (size: 18976816, checksum: 6f1f18cd2d2b1852d7f6892df9cee3823349d43a)
sources;android-16 (revision: 2) [channel: stable, license: android-sdk-license]
Sources for Android 16
Archives:
generic: https://dl.google.com/android/repository/sources-16_r02.zip (size: 17876720, checksum: 0f83c14ed333c45d962279ab5d6bc98a0269ef84)
sources;android-15 (revision: 2) [channel: stable, license: android-sdk-license]
Sources for Android 15
Archives:
generic: https://dl.google.com/android/repository/sources-15_r02.zip (size: 16468746, checksum: e5992a5747c9590783fbbdd700337bf0c9f6b1fa)
sources;android-14 (revision: 1) [channel: stable, license: android-sdk-license]
Sources for Android 14
Archives:
generic: https://dl.google.com/android/repository/sources-14_r01.zip (size: 16152383, checksum: eaf4ed7dcac46e68516a1b4aa5b0d9e5a39a7555)
ndk-bundle (revision: 14.0.3770861) [channel: stable, license: android-sdk-license]
NDK
Archives:
macosx64: https://dl.google.com/android/repository/android-ndk-r14-darwin-x86_64.zip (size: 824579088, checksum: d121c9e4f359ff65fb4d003bdd7dbe5dd9cf7295)
linux64: https://dl.google.com/android/repository/android-ndk-r14-linux-x86_64.zip (size: 840507097, checksum: eac8b293054671555cb636e350f1a9bc475c8f0c)
windows32: https://dl.google.com/android/repository/android-ndk-r14-windows-x86.zip (size: 707413080, checksum: 43d840b80f6bad630f766904172d305cdaf927c8)
windows64: https://dl.google.com/android/repository/android-ndk-r14-windows-x86_64.zip (size: 769028642, checksum: ce688def0d64703e9fe4f2d93f879154c5070bf9)
lldb;2.3 (revision: 2.3.3614996) [channel: stable, license: android-sdk-license]
LLDB 2.3
Archives:
macosx64: https://dl.google.com/android/repository/lldb-2.3.3614996-darwin-x86_64.zip (size: 42696025, checksum: 6b0df112c7b9fa41654497fde2fcce990c831e52)
linux64: https://dl.google.com/android/repository/lldb-2.3.3614996-linux-x86_64.zip (size: 50785194, checksum: d7abe655650efe9f6989df31835fa3b3f95c2d13)
windows: https://dl.google.com/android/repository/lldb-2.3.3614996-windows.zip (size: 39794792, checksum: f1ade0f54a6af82ef0cebde03ebf0bb12ae9767d)
Dependencies(1):
patcher;v4
lldb;2.2 (revision: 2.2.3271982) [channel: stable, license: android-sdk-license]
LLDB 2.2
Archives:
macosx64: https://dl.google.com/android/repository/lldb-2.2.3271982-darwin-x86_64.zip (size: 46265029, checksum: 62089f4e35775e6cedb82d1fa377fdc1de898005)
linux64: https://dl.google.com/android/repository/lldb-2.2.3271982-linux-x86_64.zip (size: 49929306, checksum: 413649617d97dd9ef163528f64c0500e1b7c4113)
windows: https://dl.google.com/android/repository/lldb-2.2.3271982-windows.zip (size: 38944200, checksum: 7ee86628e6e25d84f2b4244efe587f2ca2e3af79)
Dependencies(1):
patcher;v4
lldb;2.1 (revision: 2.1.2852477) [channel: stable, license: android-sdk-license]
LLDB 2.1
Archives:
macosx64: https://dl.google.com/android/repository/lldb-2.1.2852477-darwin-x86_64.zip (size: 72306262, checksum: d1e33880a53f1aa8c7e73534adef83a06f091185)
linux64: https://dl.google.com/android/repository/lldb-2.1.2852477-linux-x86_64.zip (size: 73168196, checksum: eb9b96d320210fdfe82495b0597ad43e77f1c240)
windows32: https://dl.google.com/android/repository/lldb-2.1.2852477-windows-x86.zip (size: 64979959, checksum: 1d9c7d3db1e90587be15c9e79db6bd2881c65387)
windows64: https://dl.google.com/android/repository/lldb-2.1.2852477-windows-x86_64.zip (size: 64979959, checksum: 1d9c7d3db1e90587be15c9e79db6bd2881c65387)
lldb;2.0 (revision: 2.0.2558144) [channel: stable, license: android-sdk-license]
LLDB 2.0
Archives:
macosx64: https://dl.google.com/android/repository/lldb-2.0.2558144-darwin-x86_64.zip (size: 69262856, checksum: d92e2f4c8284413eed4f27986e62b167d947033c)
linux64: https://dl.google.com/android/repository/lldb-2.0.2558144-linux-x86_64.zip (size: 73674658, checksum: e7060d9b2ba58b28fd7b1a0ea85a151c8371a326)
windows32: https://dl.google.com/android/repository/lldb-2.0.2558144-windows-x86.zip (size: 65648183, checksum: 86fd4676dfb587efe8e84face780d6e8241c0b3a)
windows64: https://dl.google.com/android/repository/lldb-2.0.2558144-windows-x86_64.zip (size: 65648183, checksum: 86fd4676dfb587efe8e84face780d6e8241c0b3a)
build-tools;25.0.2 (revision: 25.0.2) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 25.0.2
Archives:
linux: https://dl.google.com/android/repository/build-tools_r25.0.2-linux.zip (size: 49880329, checksum: ff953c0177e317618fda40516f3e9d95fd43c7ae)
macosx: https://dl.google.com/android/repository/build-tools_r25.0.2-macosx.zip (size: 49667185, checksum: 12a5204bb3b6e39437535469fde7ddf42da46b16)
windows: https://dl.google.com/android/repository/build-tools_r25.0.2-windows.zip (size: 50458908, checksum: 2fee3c0704d6ecc480570450d8b8069b2c4a2dd4)
build-tools;25.0.1 (revision: 25.0.1) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 25.0.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r25.0.1-linux.zip (size: 49880178, checksum: ff063d252ab750d339f5947d06ff782836f22bac)
macosx: https://dl.google.com/android/repository/build-tools_r25.0.1-macosx.zip (size: 49667353, checksum: 7bf7f22d7d48ef20b6ab0e3d7a2912e5c088340f)
windows: https://dl.google.com/android/repository/build-tools_r25.0.1-windows.zip (size: 50458759, checksum: c6c61393565ccf46349e7f44511e5db7c1c6169d)
build-tools;25.0.0 (revision: 25.0.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 25
Archives:
linux: https://dl.google.com/android/repository/build-tools_r25-linux.zip (size: 49872921, checksum: f2bbda60403e75cabd0f238598c3b4dfca56ea44)
macosx: https://dl.google.com/android/repository/build-tools_r25-macosx.zip (size: 49659466, checksum: 273c5c29a65cbed00e44f3aa470bbd7dce556606)
windows: https://dl.google.com/android/repository/build-tools_r25-windows.zip (size: 50451378, checksum: f9258f2308ff8b62cfc4513d40cb961612d07b6a)
build-tools;24.0.3 (revision: 24.0.3) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 24.0.3
Archives:
linux: https://dl.google.com/android/repository/build-tools_r24.0.3-linux.zip (size: 49779151, checksum: 9e8cc49d66e03fa1a8ecc1ac3e58f1324f5da304)
macosx: https://dl.google.com/android/repository/build-tools_r24.0.3-macosx.zip (size: 49568967, checksum: a01c15f1b105c34595681075e1895d58b3fff48c)
windows: https://dl.google.com/android/repository/build-tools_r24.0.3-windows.zip (size: 50354788, checksum: 8b960d693fd4163caeb8dc5f5f5f80b10987089c)
build-tools;24.0.2 (revision: 24.0.2) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 24.0.2
Archives:
linux: https://dl.google.com/android/repository/build-tools_r24.0.2-linux.zip (size: 48936295, checksum: f199a7a788c3fefbed102eea34d6007737b803cf)
macosx: https://dl.google.com/android/repository/build-tools_r24.0.2-macosx.zip (size: 48726190, checksum: 8bb8fc575477491d5957de743089df412de55cda)
windows: https://dl.google.com/android/repository/build-tools_r24.0.2-windows.zip (size: 49512513, checksum: 09586a1f1c39bcfa7db5205c9a07837247deb67e)
build-tools;24.0.1 (revision: 24.0.1) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 24.0.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r24.0.1-linux.zip (size: 48936286, checksum: 84f18c392919a074fcbb9b1d967984e6b2fef8b4)
macosx: https://dl.google.com/android/repository/build-tools_r24.0.1-macosx.zip (size: 48726085, checksum: 5c6457fcdfa07724fb086d8ff4e8316fc0742848)
windows: https://dl.google.com/android/repository/build-tools_r24.0.1-windows.zip (size: 49511883, checksum: ac4a7cea42c3ef74d7fbf1b992fad311c550034e)
build-tools;24.0.0 (revision: 24.0.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 24
Archives:
linux: https://dl.google.com/android/repository/build-tools_r24-linux.zip (size: 48960919, checksum: c6271c4d78a5612ea6c7150688bcd5b7313de8d1)
macosx: https://dl.google.com/android/repository/build-tools_r24-macosx.zip (size: 48747930, checksum: 97fc4ed442f23989cc488d02c1d1de9bdde241de)
windows: https://dl.google.com/android/repository/build-tools_r24-windows.zip (size: 49535326, checksum: dc61b9e5b451a0c3ec42ae2b1ce27c4d3c8da9f7)
build-tools;23.0.2 (revision: 23.0.2) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 23.0.2
Archives:
linux: https://dl.google.com/android/repository/build-tools_r23.0.2-linux.zip (size: 39071201, checksum: 8a9f2b37f6fcf7a9fa784dc21aeaeb41bbb9f2c3)
macosx: https://dl.google.com/android/repository/build-tools_r23.0.2-macosx.zip (size: 38060914, checksum: 482c4cbceef8ff58aefd92d8155a38610158fdaf)
windows: https://dl.google.com/android/repository/build-tools_r23.0.2-windows.zip (size: 38217626, checksum: fc3a92c744d3ba0a16ccb5d2b41eea5974ce0a96)
build-tools;23.0.3 (revision: 23.0.3) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 23.0.3
Archives:
linux: https://dl.google.com/android/repository/build-tools_r23.0.3-linux.zip (size: 40733174, checksum: 368f2600feac7e9b511b82f53d1f2240ae4a91a3)
macosx: https://dl.google.com/android/repository/build-tools_r23.0.3-macosx.zip (size: 39679533, checksum: fbc98cd303fd15a31d472de6c03bd707829f00b0)
windows: https://dl.google.com/android/repository/build-tools_r23.0.3-windows.zip (size: 39869945, checksum: c6d8266c6a3243c8f1e41b786c0e3cee4c781263)
build-tools;23.0.1 (revision: 23.0.1) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 23.0.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r23.0.1-linux.zip (size: 39069295, checksum: b6ba7c399d5fa487d95289d8832e4ad943aed556)
macosx: https://dl.google.com/android/repository/build-tools_r23.0.1-macosx.zip (size: 38059328, checksum: d96ec1522721e9a179ae2c591c99f75d31d39718)
windows: https://dl.google.com/android/repository/build-tools_r23.0.1-windows.zip (size: 38558889, checksum: cc1d37231d228f7a6f130e1f8d8c940052f0f8ab)
build-tools;23.0.0 (revision: 23.0.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 23
Archives:
linux: https://dl.google.com/android/repository/build-tools_r23-linux.zip (size: 39080519, checksum: c1d6209212b01469f80fa804e0c1d39a06bc9060)
macosx: https://dl.google.com/android/repository/build-tools_r23-macosx.zip (size: 38070540, checksum: 90ba6e716f7703a236cd44b2e71c5ff430855a03)
windows: https://dl.google.com/android/repository/build-tools_r23-windows.zip (size: 38570715, checksum: 3874948f35f2f8946597679cc6e9151449f23b5d)
build-tools;22.0.1 (revision: 22.0.1) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 22.0.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r22.0.1-linux.zip (size: 33104577, checksum: da8b9c5c3ede39298e6cf0283c000c2ee9029646)
macosx: https://dl.google.com/android/repository/build-tools_r22.0.1-macosx.zip (size: 33646102, checksum: 53dad7f608e01d53b17176ba11165acbfccc5bbf)
windows: https://dl.google.com/android/repository/build-tools_r22.0.1-windows.zip (size: 33254137, checksum: 61d8cbe069d9e0a57872a83e5e5abe164b7d52cf)
build-tools;22.0.0 (revision: 22.0.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 22
Archives:
linux: https://dl.google.com/android/repository/build-tools_r22-linux.zip (size: 33104280, checksum: a8a1619dd090e44fac957bce6842e62abf87965b)
macosx: https://dl.google.com/android/repository/build-tools_r22-macosx.zip (size: 33646090, checksum: af95429b24088d704bc5db9bd606e34ac1b82c0d)
windows: https://dl.google.com/android/repository/build-tools_r22-windows.zip (size: 33254114, checksum: 08fcca41e81b172bd9f570963b90d3a84929e043)
build-tools;21.1.2 (revision: 21.1.2) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 21.1.2
Archives:
linux: https://dl.google.com/android/repository/build-tools_r21.1.2-linux.zip (size: 32637678, checksum: 5e35259843bf2926113a38368b08458735479658)
macosx: https://dl.google.com/android/repository/build-tools_r21.1.2-macosx.zip (size: 33152878, checksum: e7c906b4ba0eea93b32ba36c610dbd6b204bff48)
windows: https://dl.google.com/android/repository/build-tools_r21.1.2-windows.zip (size: 32792587, checksum: 1d944759c47f60e634d2b8a1f3a4259be2f8d652)
build-tools;21.1.1 (revision: 21.1.1) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 21.1.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r21.1.1-linux.zip (size: 32642454, checksum: 1c712ee3a1ba5a8b0548f9c32f17d4a0ddfd727d)
macosx: https://dl.google.com/android/repository/build-tools_r21.1.1-macosx.zip (size: 33157676, checksum: 836a146eab0504aa9387a5132e986fe7c7381571)
windows: https://dl.google.com/android/repository/build-tools_r21.1.1-windows.zip (size: 32797356, checksum: 53fc4201237f899d5cd92f0b76ad41fb89da188b)
build-tools;21.1.0 (revision: 21.1.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 21.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r21.1-linux.zip (size: 32642820, checksum: b7455e543784d52a8925f960bc880493ed1478cb)
macosx: https://dl.google.com/android/repository/build-tools_r21.1-macosx.zip (size: 33158159, checksum: df619356c2359aa5eacdd48699d15b335d9bd246)
windows: https://dl.google.com/android/repository/build-tools_r21.1-windows.zip (size: 32797810, checksum: c79d63ac6b713a1e326ad4dae43f2ee76708a2f4)
build-tools;21.0.2 (revision: 21.0.2) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 21.0.2
Archives:
linux: https://dl.google.com/android/repository/build-tools_r21.0.2-linux.zip (size: 22153122, checksum: e1236ab8897b62b57414adcf04c132567b2612a5)
macosx: https://dl.google.com/android/repository/build-tools_r21.0.2-macosx.zip (size: 22668597, checksum: f17471c154058f3734729ef3cc363399b1cd3de1)
windows: https://dl.google.com/android/repository/build-tools_r21.0.2-windows.zip (size: 22306371, checksum: 37496141b23cbe633167927b7abe6e22d9f1a1c1)
build-tools;21.0.1 (revision: 21.0.1) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 21.0.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r21.0.1-linux.zip (size: 22153013, checksum: e573069eea3e5255e7a65bedeb767f4fd0a5f49a)
macosx: https://dl.google.com/android/repository/build-tools_r21.0.1-macosx.zip (size: 22668616, checksum: b60c8f9b810c980abafa04896706f3911be1ade7)
windows: https://dl.google.com/android/repository/build-tools_r21.0.1-windows.zip (size: 22306243, checksum: d68e7e6fd7a48c8759aa41d713c9d4f0e4c1c1df)
build-tools;21.0.0 (revision: 21.0.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 21
Archives:
linux: https://dl.google.com/android/repository/build-tools_r21-linux.zip (size: 22153145, checksum: 4933328fdeecbd554a29528f254f4993468e1cf4)
macosx: https://dl.google.com/android/repository/build-tools_r21-macosx.zip (size: 22668456, checksum: 9bef7989b51436bd4e5114d8a0330359f077cbfa)
windows: https://dl.google.com/android/repository/build-tools_r21-windows.zip (size: 22306371, checksum: 5bc8fd399bc0135a9bc91eec78ddc5af4f54bf32)
build-tools;20.0.0 (revision: 20.0.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 20
Archives:
linux: https://dl.google.com/android/repository/build-tools_r20-linux.zip (size: 21445463, checksum: b688905526a5584d1327a662d871a635ff502758)
macosx: https://dl.google.com/android/repository/build-tools_r20-macosx.zip (size: 21650508, checksum: 1240f629411c108a714c4ddd756937c7fab93f83)
windows: https://dl.google.com/android/repository/build-tools_r20-windows.zip (size: 20828006, checksum: cf20720e452b642d5eb59dabe05c0c729b36ec75)
build-tools;19.1.0 (revision: 19.1.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 19.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r19.1-linux.zip (size: 21490972, checksum: 1ff20ac15fa47a75d00346ec12f180d531b3ca89)
macosx: https://dl.google.com/android/repository/build-tools_r19.1-macosx.zip (size: 21590160, checksum: 0d11aae3417de1efb4b9a0e0a7855904a61bcec1)
windows: https://dl.google.com/android/repository/build-tools_r19.1-windows.zip (size: 20812533, checksum: 13b367fbdbff8132cb4356f716e8dc8a8df745c5)
build-tools;19.0.3 (revision: 19.0.3) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 19.0.3
Archives:
linux: https://dl.google.com/android/repository/build-tools_r19.0.3-linux.zip (size: 21462150, checksum: c2d6055478e9d2d4fba476ee85f99181ddd1160c)
macosx: https://dl.google.com/android/repository/build-tools_r19.0.3-macosx.zip (size: 21563992, checksum: 651cf8754373b2d52e7f6aab2c52eabffe4e9ea4)
windows: https://dl.google.com/android/repository/build-tools_r19.0.3-windows.zip (size: 20730715, checksum: cb46b433b67a0a6910ff00db84be8b527ea3102f)
build-tools;19.0.2 (revision: 19.0.2) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 19.0.2
Archives:
linux: https://dl.google.com/android/repository/build-tools_r19.0.2-linux.zip (size: 21352552, checksum: a03a6bdea0091aea32e1b35b90a7294c9f04e3dd)
macosx: https://dl.google.com/android/repository/build-tools_r19.0.2-macosx.zip (size: 21453726, checksum: 145bc43065d45f756d99d87329d899052b9a9288)
windows: https://dl.google.com/android/repository/build-tools_r19.0.2-windows.zip (size: 20621117, checksum: af664672d0d709c9ae30937b1062317d3ade7f95)
build-tools;19.0.1 (revision: 19.0.1) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 19.0.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r19.0.1-linux.zip (size: 21229048, checksum: 18d2312dc4368858914213087f4e61445aca4517)
macosx: https://dl.google.com/android/repository/build-tools_r19.0.1-macosx.zip (size: 21450597, checksum: efaf50fb19a3edb8d03efbff76f89a249ad2920b)
windows: https://dl.google.com/android/repository/build-tools_r19.0.1-windows.zip (size: 20500648, checksum: 5ef422bac5b28f4ced108319ed4a6bc7050a6234)
build-tools;19.0.0 (revision: 19.0.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 19
Archives:
linux: https://dl.google.com/android/repository/build-tools_r19-linux.zip (size: 21339943, checksum: 55c1a6cf632e7d346f0002b275ec41fd3137fd83)
macosx: https://dl.google.com/android/repository/build-tools_r19-macosx.zip (size: 21441270, checksum: 86ec1c12db1bc446b7bcaefc5cc14eb361044e90)
windows: https://dl.google.com/android/repository/build-tools_r19-windows.zip (size: 20611447, checksum: 6edf505c20f5ece9c48fa0aff9a90488f9654d52)
build-tools;18.1.1 (revision: 18.1.1) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 18.1.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r18.1.1-linux.zip (size: 20229760, checksum: 68c9acbfc0cec2d51b19efaed39831a17055d998)
macosx: https://dl.google.com/android/repository/build-tools_r18.1.1-macosx.zip (size: 20452157, checksum: a9d9d37f6ddf859e57abc78802a77aaa166e48d4)
windows: https://dl.google.com/android/repository/build-tools_r18.1.1-windows.zip (size: 19660000, checksum: c4605066e2f851387ea70bc1442b1968bd7b4a15)
build-tools;18.1.0 (revision: 18.1.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 18.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r18.1-linux.zip (size: 20229298, checksum: f314a0599e51397f0886fe888b50dd98f2f050d8)
macosx: https://dl.google.com/android/repository/build-tools_r18.1-macosx.zip (size: 20451524, checksum: 16ddb299b8b43063e5bb3387ec17147c5053dfd8)
windows: https://dl.google.com/android/repository/build-tools_r18.1-windows.zip (size: 19659547, checksum: 3a9810fc8559ab03c09378f07531e8cae2f1db30)
build-tools;18.0.1 (revision: 18.0.1) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 18.0.1
Archives:
linux: https://dl.google.com/android/repository/build-tools_r18.0.1-linux.zip (size: 16627330, checksum: f11618492b0d2270c332325d45d752d3656a9640)
macosx: https://dl.google.com/android/repository/build-tools_r18.0.1-macosx.zip (size: 16633121, checksum: d84f5692fb44d60fc53e5b2507cebf9f24626902)
windows: https://dl.google.com/android/repository/build-tools_r18.0.1-windows.zip (size: 15413527, checksum: a6c2afd0b6289d589351956d2f5212b37014ca7d)
build-tools;17.0.0 (revision: 17.0.0) [channel: stable, license: android-sdk-license]
Android SDK Build-Tools 17
Archives:
linux: https://dl.google.com/android/repository/build-tools_r17-linux.zip (size: 11696007, checksum: 2c2872bc3806aabf16a12e3959c2183ddc866e6d)
macosx: https://dl.google.com/android/repository/build-tools_r17-macosx.zip (size: 12208114, checksum: 602ee709be9dbb8f179b1e4075148a57f9419930)
windows: https://dl.google.com/android/repository/build-tools_r17-windows.zip (size: 11004914, checksum: 899897d327b0bad492d3a40d3db4d96119c15bc0)
docs (revision: 1) [channel: stable, license: android-sdk-license]
Documentation for Android SDK
Archives:
generic: https://dl.google.com/android/repository/docs-24_r01.zip (size: 419477967, checksum: eef58238949ee9544876cb3e002f2d58e4ee7b5d)
patcher;v4 (revision: 1) [channel: stable, license: android-sdk-license]
SDK Patch Applier v4
Archives:
generic: https://dl.google.com/android/repository/3534162-studio.sdk-patcher.zip (size: 1827327, checksum: 046699c5e2716ae11d77e0bad814f7f33fab261e)
cmake;3.6.3155560 (revision: 3.6.3155560) [channel: stable, license: android-sdk-license]
CMake 3.6.3155560
Archives:
macosx64: https://dl.google.com/android/repository/cmake-3.6.3155560-darwin-x86_64.zip (size: 13227936, checksum: ff7589f0f593cef056c575e4a7374781426413dd)
linux64: https://dl.google.com/android/repository/cmake-3.6.3155560-linux-x86_64.zip (size: 11675161, checksum: 0c218e6ee868a020b37418469f4657390f5493ac)
windows64: https://dl.google.com/android/repository/cmake-3.6.3155560-windows-x86_64.zip (size: 10428917, checksum: 74f040ea8ae1db5396c78afa83439a9d151cd70a)
platform-tools (revision: 25.0.3) [channel: stable, license: android-sdk-license]
Android SDK Platform-Tools
Archives:
macosx: https://dl.google.com/android/repository/platform-tools_r25.0.3-darwin.zip (size: 3732826, checksum: a539384766523a90637cb5e0231c8530bd639916)
linux: https://dl.google.com/android/repository/platform-tools_r25.0.3-linux.zip (size: 3916524, checksum: 45979ff7d19ac01b52fef283bcccf386f085c239)
windows: https://dl.google.com/android/repository/platform-tools_r25.0.3-windows.zip (size: 3573642, checksum: b6774fe6927893f5f8e94ae44de82a68b2f6669f)
emulator (revision: 25.3.2) [channel: canary, license: android-sdk-preview-license]
Android Emulator
Archives:
macosx: https://dl.google.com/android/repository/emulator-darwin-3798399.zip (size: 123108552, checksum: 0b1a4b627a02010806c5315dd4bbbe7636e5496d)
linux: https://dl.google.com/android/repository/emulator-linux-3798399.zip (size: 154063075, checksum: 7bb605b40e105b919348a650de1f9d29c08aab2a)
windows: https://dl.google.com/android/repository/emulator-windows-3798399.zip (size: 184732986, checksum: b029ce1b8d235e6f29a51855793cf38d48d074c8)
Dependencies(1):
tools >= 25.3
emulator (revision: 25.3.1) [channel: stable, license: android-sdk-license]
Android Emulator
Archives:
macosx: https://dl.google.com/android/repository/emulator-darwin-3776547.zip (size: 122742500, checksum: 74e5f29f7fd373891c24d78c85dc82104cb002bf)
linux: https://dl.google.com/android/repository/emulator-linux-3776547.zip (size: 154055843, checksum: 052867b2ddbc2cc5c3704c723c90f3a16392c734)
windows: https://dl.google.com/android/repository/emulator-windows-3776547.zip (size: 179077996, checksum: 11f44f051be1a602092b0c513390617b307f280d)
Dependencies(1):
tools >= 25.3
tools (revision: 25.3.1) [channel: stable, license: android-sdk-license]
Android SDK Tools
Archives:
macosx: https://dl.google.com/android/repository/sdk-tools-darwin-3773319.zip (size: 85767058, checksum: 721634376d42daf6b9b2e9bbf8e2f6cd041f90ef)
linux: https://dl.google.com/android/repository/sdk-tools-linux-3773319.zip (size: 136146890, checksum: a1e258983707af4af2098c98499778b66c211eb3)
windows: https://dl.google.com/android/repository/sdk-tools-windows-3773319.zip (size: 137630942, checksum: 3a448d4b4deb739562ae1a4936525eb46250b168)
Dependencies(2):
emulator
platform-tools >= 20
@bartekpacia
Copy link

Thanks a ton! This is great stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment