Skip to content

Instantly share code, notes, and snippets.

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