From 386e85815bdcd0abe0093f8c1dd2fdc9e6799e9c Mon Sep 17 00:00:00 2001 From: inferjay Date: Sat, 19 Sep 2026 18:40:56 +0800 Subject: [PATCH 01/10] ci: automate Android download archive updates --- .../workflows/update-android-downloads.yml | 104 + scripts/update_android_downloads.py | 781 + tests/fixtures/emulator-frame.html | 4465 ++++ tests/fixtures/repository2.xml | 11778 +++++++++++ tests/fixtures/studio-frame.html | 17465 ++++++++++++++++ tests/test_update_android_downloads.py | 169 + 6 files changed, 34762 insertions(+) create mode 100644 .github/workflows/update-android-downloads.yml create mode 100644 scripts/update_android_downloads.py create mode 100644 tests/fixtures/emulator-frame.html create mode 100644 tests/fixtures/repository2.xml create mode 100644 tests/fixtures/studio-frame.html create mode 100644 tests/test_update_android_downloads.py diff --git a/.github/workflows/update-android-downloads.yml b/.github/workflows/update-android-downloads.yml new file mode 100644 index 0000000..020a92a --- /dev/null +++ b/.github/workflows/update-android-downloads.yml @@ -0,0 +1,104 @@ +name: Update Android downloads + +on: + workflow_dispatch: + schedule: + # 08:20 Asia/Shanghai (00:20 UTC), intentionally away from the hour. + - cron: "20 0 * * *" + +concurrency: + group: update-android-downloads + cancel-in-progress: false + +permissions: + contents: write + pull-requests: write + +jobs: + update: + runs-on: ubuntu-latest + steps: + - name: Check out automation source + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + ref: master + path: automation + fetch-depth: 1 + + - name: Check out published site + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + ref: gh-pages + path: site + fetch-depth: 0 + + - name: Run offline regression tests + working-directory: automation + run: python3 -m unittest discover -s tests -v + + - name: Run the guarded update + run: >- + python3 automation/scripts/update_android_downloads.py + --site-dir site + --mode write + --report-json update-report.json + + - name: Fail if the update escaped its allowlist + working-directory: site + shell: bash + run: | + set -euo pipefail + + mapfile -t changed_files < <(git diff --name-only) + if [ "${#changed_files[@]}" -eq 0 ]; then + echo "No Android download changes detected." + exit 0 + fi + + for file in "${changed_files[@]}"; do + case "$file" in + android-studio.html|android-emulator.html|index.html) ;; + *) + echo "Unexpected changed file: $file" >&2 + exit 1 + ;; + esac + done + + changed_lines="$(git diff --numstat -- android-studio.html android-emulator.html index.html | awk '{ additions += $1; deletions += $2 } END { print additions + deletions + 0 }')" + if [ "$changed_lines" -gt 2000 ]; then + echo "Refusing an unusually large generated diff: $changed_lines lines" >&2 + exit 1 + fi + + cat ../update-report.json >> "$GITHUB_STEP_SUMMARY" + + - name: Create or update the review PR + working-directory: site + env: + GH_TOKEN: ${{ github.token }} + shell: bash + run: | + set -euo pipefail + if git diff --quiet -- android-studio.html android-emulator.html index.html; then + echo "No generated page changes; no PR needed." + exit 0 + fi + + git config user.name "androiddevtools-bot" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + branch="automation/android-downloads" + git switch -C "$branch" + git add android-studio.html android-emulator.html index.html + git commit -m "chore: update Android downloads" + git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" + git push --force origin "HEAD:${branch}" + + body_file="../update-report.json" + pr_number="$(gh pr list --repo "$GITHUB_REPOSITORY" --head "$branch" --base gh-pages --state open --json number --jq '.[0].number')" + if [ -n "$pr_number" ]; then + gh pr edit "$pr_number" --title "chore: update Android downloads" --body-file "$body_file" + else + gh pr create --repo "$GITHUB_REPOSITORY" --base gh-pages --head "$branch" \ + --title "chore: update Android downloads" --body-file "$body_file" + fi diff --git a/scripts/update_android_downloads.py b/scripts/update_android_downloads.py new file mode 100644 index 0000000..9cf9c29 --- /dev/null +++ b/scripts/update_android_downloads.py @@ -0,0 +1,781 @@ +#!/usr/bin/env python3 +"""Fetch, validate, render, and safely update Android download pages. + +The script deliberately uses only the Python standard library so that the +scheduled GitHub Action does not need to install a parser or other runtime +dependency. The official archive pages expose a small HTML ``.frame`` +document; that document is parsed with :class:`html.parser.HTMLParser`, while +the repository XML is parsed with :mod:`xml.etree.ElementTree`. +""" + +from __future__ import annotations + +import argparse +import datetime as dt +import html +import json +import re +import sys +import urllib.error +import urllib.parse +import urllib.request +from dataclasses import dataclass +from html.parser import HTMLParser +from pathlib import Path +from typing import Iterable, Mapping, Sequence +from xml.etree import ElementTree as ET + + +STUDIO_ARCHIVE_URL = "https://developer.android.com/studio/archive" +EMULATOR_ARCHIVE_URL = "https://developer.android.com/studio/emulator_archive" +REPOSITORY_URL = "https://dl.google.com/android/repository/repository2-3.xml" +ALLOWED_DOWNLOAD_HOSTS = { + "edgedl.me.gvt1.com", + "redirector.gvt1.com", + "dl.google.com", +} +TARGET_FILES = ( + "android-studio.html", + "android-emulator.html", + "index.html", +) +MARKERS = { + "studio": ( + "", + "", + ), + "emulator": ( + "", + "", + ), + "studio-summary": ( + "", + "", + ), + "emulator-summary": ( + "", + "", + ), +} +MIN_COUNT_RATIO = 0.8 +MAX_DIFF_LINES = 2000 +USER_AGENT = "AndroidDevTools-download-updater/1.0 (+https://github.com/inferjay/AndroidDevTools)" +DATE_RE = re.compile( + r"\b(?:January|February|March|April|May|June|July|August|September|October|November|December|" + r"Jan|Feb|Mar|Apr|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+\d{1,2},\s+\d{4}\b" +) +CHECKSUM_RE = re.compile(r"\b[0-9a-fA-F]{64}\b") +VERSION_RE = re.compile(r"\d+(?:\.\d+)+") + + +class UpdateError(RuntimeError): + """An expected validation or update failure that must fail closed.""" + + +@dataclass(frozen=True) +class Download: + platform: str + url: str + filename: str + size: str + checksum: str + group: str + + def fingerprint(self) -> tuple[str, str, str, str, str]: + return (self.platform, self.url, self.filename, self.size, self.checksum) + + +@dataclass(frozen=True) +class Release: + name: str + date_display: str + date_iso: str + channel: str + downloads: tuple[Download, ...] + + def identity(self) -> tuple[str, str]: + return (self.name, self.date_iso) + + def fingerprint(self) -> tuple[tuple[str, str, str, str, str], ...]: + return tuple(download.fingerprint() for download in self.downloads) + + +def _normalise_space(value: str) -> str: + return re.sub(r"\s+", " ", value).strip() + + +def _parse_date(value: str) -> dt.date: + for fmt in ("%B %d, %Y", "%b %d, %Y"): + try: + return dt.datetime.strptime(value, fmt).date() + except ValueError: + pass + raise UpdateError(f"无法解析发布日期: {value!r}") + + +def _infer_channel(name: str, class_name: str = "") -> str: + value = f"{class_name} {name}".lower() + if "canary" in value: + return "canary" + if "beta" in value: + return "beta" + if re.search(r"\brc(?:\s*\d+)?\b", value): + return "rc" + return "stable" + + +def _platform_from_prefix(prefix: str, filename: str) -> str: + prefix = _normalise_space(prefix).rstrip(":").strip() + if prefix: + return prefix + if "linux" in filename: + return "Linux" + if "windows" in filename: + return "Windows (64-bit)" + if "aarch64" in filename or "arm" in filename: + return "Mac (Apple Silicon)" + if "darwin" in filename or "mac" in filename: + return "Mac (Intel)" + return "Download" + + +def _download_group(url: str) -> str: + return "Installers" if "/install/" in url else "Zip files" + + +class FrameParser(HTMLParser): + """Parse expandable release blocks from an official archive frame.""" + + def __init__(self, accept_all_devsite_expandables: bool = False) -> None: + super().__init__(convert_charrefs=True) + self.accept_all_devsite_expandables = accept_all_devsite_expandables + self.blocks: list[dict[str, object]] = [] + self.current: dict[str, object] | None = None + self.container_tag = "" + self.container_depth = 0 + self.current_link: dict[str, object] | None = None + self.last_closed_link: dict[str, object] | None = None + self.line_buffer = "" + + @staticmethod + def _attrs(attrs: Sequence[tuple[str, str | None]]) -> dict[str, str]: + return {key: value or "" for key, value in attrs} + + def _is_container(self, tag: str, attrs: Mapping[str, str]) -> bool: + if tag == "section": + return "expandable" in attrs.get("class", "").split() + if tag == "devsite-expandable": + return self.accept_all_devsite_expandables or "expandable" in attrs.get("class", "").split() + return False + + def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]]) -> None: + tag = tag.lower() + attr_map = self._attrs(attrs) + if self.current is None and self._is_container(tag, attr_map): + self.current = { + "text": [], + "links": [], + "class": attr_map.get("class", ""), + } + self.container_tag = tag + self.container_depth = 1 + self.current_link = None + self.last_closed_link = None + self.line_buffer = "" + return + + if self.current is None: + return + if tag == self.container_tag: + self.container_depth += 1 + if tag == "a": + link: dict[str, object] = { + "href": attr_map.get("href", ""), + "text": [], + "prefix": self.line_buffer.strip(), + "trailing": [], + } + links = self.current["links"] + assert isinstance(links, list) + links.append(link) + self.current_link = link + self.last_closed_link = None + + def handle_endtag(self, tag: str) -> None: + tag = tag.lower() + if self.current is None: + return + if tag == "a" and self.current_link is not None: + link_text = _normalise_space("".join(self.current_link["text"])) + prefix = str(self.current_link["prefix"]) + self.line_buffer = _normalise_space(f"{prefix} {link_text}") + self.last_closed_link = self.current_link + self.current_link = None + if tag == self.container_tag: + self.container_depth -= 1 + if self.container_depth == 0: + current = self.current + self.current = None + self._finish_block(current) + + def handle_data(self, data: str) -> None: + if self.current is None: + return + text = self.current["text"] + assert isinstance(text, list) + text.append(data) + if self.current_link is not None: + link_text = self.current_link["text"] + assert isinstance(link_text, list) + link_text.append(data) + return + if self.last_closed_link is not None: + trailing = self.last_closed_link["trailing"] + assert isinstance(trailing, list) + trailing.append(data) + if "\n" in data: + self.line_buffer = data.rsplit("\n", 1)[-1] + else: + self.line_buffer += data + + def _finish_block(self, block: Mapping[str, object]) -> None: + raw_text = "".join(str(item) for item in block["text"]) + lines = [_normalise_space(line) for line in raw_text.splitlines()] + lines = [line for line in lines if line] + name = next( + (line for line in lines if line.startswith("Android Studio") or line.startswith("Android Emulator")), + "", + ) + if not name: + match = re.search(r"(Android (?:Studio|Emulator)[^\n]+)", raw_text) + name = _normalise_space(match.group(1)) if match else "" + date_match = DATE_RE.search(raw_text) + date_display = date_match.group(0) if date_match else "" + links: list[Download] = [] + checksum_map: dict[str, str] = {} + normalised_text = _normalise_space(raw_text) + checksum_pairs = re.findall(r"\b([0-9a-fA-F]{64})\s+([^\s]+)", normalised_text) + for checksum, filename in checksum_pairs: + checksum_map[filename] = checksum.lower() + + raw_links = block["links"] + assert isinstance(raw_links, list) + for link_index, raw_link in enumerate(raw_links): + href = str(raw_link.get("href", "")) + filename = Path(urllib.parse.urlsplit(href).path).name + link_text = _normalise_space("".join(raw_link.get("text", []))) + if not filename: + filename = link_text + trailing = _normalise_space("".join(raw_link.get("trailing", []))) + size_match = re.search(r"\(([^)]*(?:bytes|[KMGT]?B))\)", trailing, re.IGNORECASE) + size = _normalise_space(size_match.group(1)) if size_match else "" + checksum = checksum_map.get(filename, "") + # A small number of historical official frame entries contain a + # stale filename beside an otherwise valid checksum. Keep the + # source order as a guarded fallback, but only when the frame has + # exactly one checksum for every download. A missing checksum or + # a count mismatch still fails closed below. + if not checksum and len(checksum_pairs) == len(raw_links) and link_index < len(checksum_pairs): + checksum = checksum_pairs[link_index][0].lower() + links.append( + Download( + platform=_platform_from_prefix(str(raw_link.get("prefix", "")), filename), + url=href, + filename=filename, + size=size, + checksum=checksum, + group=_download_group(href), + ) + ) + class_name = str(block.get("class", "")) + self.blocks.append( + { + "name": name, + "date_display": date_display, + "channel": _infer_channel(name, class_name), + "downloads": tuple(links), + } + ) + + +def _validate_download(download: Download, context: str) -> None: + parsed = urllib.parse.urlsplit(download.url) + if parsed.scheme != "https" or parsed.hostname not in ALLOWED_DOWNLOAD_HOSTS: + raise UpdateError(f"{context}: 不允许的下载域名: {download.url}") + if not download.filename: + raise UpdateError(f"{context}: 下载文件名为空") + if not download.size: + raise UpdateError(f"{context}: 缺少文件大小: {download.filename}") + if not CHECKSUM_RE.fullmatch(download.checksum): + raise UpdateError(f"{context}: 缺少或格式错误的 SHA-256: {download.filename}") + + +def _validate_release(raw: Mapping[str, object], index: int, kind: str) -> Release: + name = _normalise_space(str(raw.get("name", ""))) + date_display = _normalise_space(str(raw.get("date_display", ""))) + if not name: + raise UpdateError(f"{kind} 第 {index + 1} 个条目缺少版本名") + if not date_display: + raise UpdateError(f"{kind} {name} 缺少发布日期") + date = _parse_date(date_display) + raw_downloads = raw.get("downloads", ()) + assert isinstance(raw_downloads, tuple) + if not raw_downloads: + raise UpdateError(f"{kind} {name} 没有下载项") + downloads = tuple(raw_downloads) + for download in downloads: + _validate_download(download, f"{kind} {name}") + return Release( + name=name, + date_display=date_display, + date_iso=date.isoformat(), + channel=str(raw.get("channel", "stable")), + downloads=downloads, + ) + + +def parse_releases(source: str, kind: str, accept_all_devsite_expandables: bool = False) -> tuple[list[Release], int]: + parser = FrameParser(accept_all_devsite_expandables=accept_all_devsite_expandables) + parser.feed(source) + parser.close() + if not parser.blocks: + raise UpdateError(f"{kind} frame 中没有找到 expandable 条目") + parsed = [_validate_release(block, index, kind) for index, block in enumerate(parser.blocks)] + unique: list[Release] = [] + by_identity: dict[tuple[str, str], Release] = {} + duplicate_count = 0 + for release in parsed: + previous = by_identity.get(release.identity()) + if previous is None: + by_identity[release.identity()] = release + unique.append(release) + continue + if previous.fingerprint() != release.fingerprint(): + raise UpdateError(f"{kind} 出现相同版本但下载元数据不同: {release.name} / {release.date_iso}") + duplicate_count += 1 + return unique, duplicate_count + + +def _release_version(release: Release) -> tuple[int, ...]: + match = VERSION_RE.search(release.name) + return tuple(int(value) for value in match.group(0).split(".")) if match else () + + +def _release_order_key(release: Release) -> tuple[str, tuple[int, ...], str]: + return (release.date_iso, _release_version(release), release.name) + + +def _release_id(product: str, release: Release) -> str: + version = VERSION_RE.search(release.name) + version_slug = re.sub(r"[^a-z0-9]+", "-", version.group(0).lower()) if version else "unknown" + channel = release.channel + suffix_match = re.search(r"(?:patch|rc|canary|beta)\s*(\d+)", release.name, re.IGNORECASE) + suffix = f"-{channel}-{suffix_match.group(1)}" if suffix_match else f"-{channel}" + return f"{product}-{version_slug}{suffix}".replace("--", "-") + + +def _render_download_group(downloads: Iterable[Download]) -> list[str]: + items = list(downloads) + if not items: + return [] + lines = [f" {items[0].group}"] + for download in items: + lines.append( + f" {html.escape(download.platform)}: " + f"{html.escape(download.filename)} ({html.escape(download.size)})" + ) + lines.append("") + lines.append(" SHA-256 checksums") + for download in items: + lines.append(f" {download.checksum} {html.escape(download.filename)}") + return lines + + +def render_release(product: str, release: Release) -> str: + release_id = _release_id(product, release) + lines = [ + f' ', + f' ", + "
", + ] + groups: list[str] = [] + for download in release.downloads: + if download.group not in groups: + groups.append(download.group) + for group in groups: + lines.extend(_render_download_group(download for download in release.downloads if download.group == group)) + lines.append("") + if lines[-1] == "": + lines.pop() + lines.extend(["
", "
"]) + return "\n".join(lines) + + +def render_releases(product: str, releases: Sequence[Release]) -> str: + return "\n\n".join(render_release(product, release) for release in releases) + + +def _find_matching_tag(text: str, opening_start: int, tag_name: str) -> tuple[int, int]: + token = re.compile(rf"<(/?){re.escape(tag_name)}\b[^>]*>", re.IGNORECASE) + depth = 0 + for match in token.finditer(text, opening_start): + if match.group(1): + depth -= 1 + if depth == 0: + return match.start(), match.end() + else: + depth += 1 + raise UpdateError(f"未找到匹配的 ") + + +def _replace_marker(text: str, marker_name: str, body: str) -> str: + start, end = MARKERS[marker_name] + if text.count(start) != 1 or text.count(end) != 1: + raise UpdateError(f"{marker_name} 生成区块标记缺失或重复") + start_index = text.index(start) + len(start) + end_index = text.index(end) + if end_index < start_index: + raise UpdateError(f"{marker_name} 生成区块标记顺序错误") + end_line_start = text.rfind("\n", 0, end_index) + 1 + return text[:start_index] + "\n" + body.rstrip() + "\n" + text[end_line_start:] + + +def _marked_body(text: str, marker_name: str) -> str: + start, end = MARKERS[marker_name] + if text.count(start) != 1 or text.count(end) != 1: + raise UpdateError(f"{marker_name} 生成区块标记缺失或重复") + begin = text.index(start) + len(start) + finish = text.index(end) + if finish < begin: + raise UpdateError(f"{marker_name} 生成区块标记顺序错误") + return text[begin:finish] + + +def _replace_all_downloads_container(page: str, marker_name: str, body: str) -> str: + opening = re.search(r']*class=["\'][^"\']*\ball-downloads\b[^"\']*["\'][^>]*>', page, re.IGNORECASE) + if opening is None: + raise UpdateError(f"页面中没有找到 all-downloads 容器: {marker_name}") + closing_start, _ = _find_matching_tag(page, opening.start(), "div") + marker_start, marker_end = MARKERS[marker_name] + replacement = f"\n{marker_start}\n{body.rstrip()}\n{marker_end}\n " + return page[: opening.end()] + replacement + page[closing_start:] + + +def _replace_index_section(page: str, section_id: str, marker_name: str, product: str, releases: Sequence[Release]) -> str: + opening = re.search( + rf']*id=["\']{re.escape(section_id)}["\'][^>]*>', page, re.IGNORECASE + ) + if opening is None: + raise UpdateError(f"首页缺少区块: {section_id}") + closing_start, _ = _find_matching_tag(page, opening.start(), "div") + section = page[opening.end() : closing_start] + first_expandable = re.search(r"') + if call_to_action < 0: + raise UpdateError(f"首页 {section_id} 缺少版本页链接") + marker_start, marker_end = MARKERS[marker_name] + body = render_releases(product, list(releases)[:2]) + replacement = f"\n {marker_start}\n{body}\n {marker_end}\n
\n" + new_section = section[: first_expandable.start()] + replacement + " " + section[call_to_action:] + return page[: opening.end()] + new_section + page[closing_start:] + + +def bootstrap_site(site_dir: Path, studio: Sequence[Release], emulator: Sequence[Release]) -> list[str]: + """Add markers and perform the one-time initial migration.""" + paths = {name: site_dir / name for name in TARGET_FILES} + pages = {name: path.read_text(encoding="utf-8") for name, path in paths.items()} + if any(any(pages[name].count(marker) for marker in markers) for name, markers in (("android-studio.html", MARKERS["studio"]), ("android-emulator.html", MARKERS["emulator"]), ("index.html", MARKERS["studio-summary"]), ("index.html", MARKERS["emulator-summary"]))): + raise UpdateError("bootstrap 只能用于尚未添加生成区块标记的页面") + pages["android-studio.html"] = _replace_all_downloads_container( + pages["android-studio.html"], "studio", render_releases("studio", studio) + ) + pages["android-emulator.html"] = _replace_all_downloads_container( + pages["android-emulator.html"], "emulator", render_releases("emulator", emulator) + ) + pages["index.html"] = _replace_index_section( + pages["index.html"], "android-studio", "studio-summary", "studio", studio + ) + pages["index.html"] = _replace_index_section( + pages["index.html"], "android-emulator", "emulator-summary", "emulator", emulator + ) + changed: list[str] = [] + for name, page in pages.items(): + if page != paths[name].read_text(encoding="utf-8"): + paths[name].write_text(page, encoding="utf-8") + changed.append(name) + return changed + + +def _validate_transition(old: Sequence[Release], new: Sequence[Release], kind: str) -> None: + if not old: + return + minimum = max(1, int(len(old) * MIN_COUNT_RATIO)) + if len(new) < minimum: + raise UpdateError(f"{kind} 条目数异常下降: 旧 {len(old)},新 {len(new)},最低允许 {minimum}") + if _release_order_key(new[0]) < _release_order_key(old[0]): + raise UpdateError(f"{kind} 最新版本倒退: 旧 {old[0].name},新 {new[0].name}") + + +def parse_repository_emulator(xml_text: str) -> list[dict[str, object]]: + try: + root = ET.fromstring(xml_text) + except ET.ParseError as exc: + raise UpdateError(f"Repository XML 解析失败: {exc}") from exc + packages: list[dict[str, object]] = [] + for package in root.iter(): + if not package.tag.endswith("remotePackage") or package.attrib.get("path") != "emulator": + continue + revision = ".".join( + element.text.strip() + for element in package.iter() + if element.tag.endswith(("major", "minor", "micro")) and element.text + ) + channel = "" + for element in package.iter(): + if element.tag.endswith("channelRef"): + channel = element.attrib.get("ref", "") + break + archives: dict[str, int] = {} + for archive in package.iter(): + if not archive.tag.endswith("archive"): + continue + url_element = next((item for item in archive.iter() if item.tag.endswith("url")), None) + size_element = next((item for item in archive.iter() if item.tag.endswith("size")), None) + if url_element is None or size_element is None or not url_element.text or not size_element.text: + continue + try: + archives[Path(url_element.text.strip()).name] = int(size_element.text.strip()) + except ValueError as exc: + raise UpdateError(f"Repository XML 的 emulator size 不是整数: {size_element.text!r}") from exc + if revision and channel and archives: + packages.append({"revision": revision, "channel": channel, "archives": archives}) + if not packages: + raise UpdateError("Repository XML 中没有找到 emulator 包") + return packages + + +def _version_from_emulator_name(name: str) -> str: + match = VERSION_RE.search(name) + if not match: + raise UpdateError(f"无法从 Emulator 版本名解析版本号: {name}") + return match.group(0) + + +def validate_emulator_repository(releases: Sequence[Release], xml_text: str) -> list[dict[str, str]]: + packages = parse_repository_emulator(xml_text) + checks: list[dict[str, str]] = [] + for channel, channel_ref in (("stable", "channel-0"), ("beta", "channel-1")): + candidate = next((release for release in releases if release.channel == channel), None) + if candidate is None: + continue + version = _version_from_emulator_name(candidate.name) + package = next( + (item for item in packages if item["revision"] == version and item["channel"] == channel_ref), + None, + ) + if package is None: + raise UpdateError(f"Repository XML 未找到 {channel} Emulator {version} 的交叉校验包") + archives = package["archives"] + assert isinstance(archives, dict) + for download in candidate.downloads: + if download.filename not in archives: + raise UpdateError(f"Repository XML 缺少 {download.filename}") + size_match = re.search(r"\d+", download.size) + if size_match is None or int(size_match.group(0)) != archives[download.filename]: + raise UpdateError( + f"Repository XML 与归档页大小不一致: {download.filename} " + f"({download.size} != {archives[download.filename]})" + ) + checks.append({"channel": channel, "version": version, "status": "matched"}) + if not checks: + raise UpdateError("Emulator frame 没有可用于 Repository XML 交叉校验的 Stable/Beta 条目") + return checks + + +def _fetch(url: str, timeout: int = 30) -> str: + request = urllib.request.Request(url, headers={"User-Agent": USER_AGENT}) + try: + with urllib.request.urlopen(request, timeout=timeout) as response: + status = getattr(response, "status", 200) + if status != 200: + raise UpdateError(f"官方请求返回 HTTP {status}: {url}") + content = response.read() + except (urllib.error.URLError, TimeoutError) as exc: + raise UpdateError(f"官方请求失败: {url}: {exc}") from exc + if len(content) < 200: + raise UpdateError(f"官方响应过短,疑似错误页: {url}") + try: + return content.decode("utf-8") + except UnicodeDecodeError as exc: + raise UpdateError(f"官方响应不是 UTF-8: {url}") from exc + + +class FrameLinkParser(HTMLParser): + def __init__(self) -> None: + super().__init__(convert_charrefs=True) + self.urls: list[str] = [] + + def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]]) -> None: + for key, value in attrs: + if key.lower() not in {"href", "src"} or not value or ".frame" not in value: + continue + self.urls.append(value) + + +def discover_frame_url(archive_html: str, kind: str) -> str: + parser = FrameLinkParser() + parser.feed(archive_html) + parser.close() + candidates: list[str] = [] + for raw_url in parser.urls: + absolute = urllib.parse.urljoin("https://developer.android.com/", raw_url) + if f"/frame/studio/{kind}_" in absolute and absolute.endswith(".frame"): + candidates.append(absolute) + if not candidates: + raise UpdateError(f"没有从 {kind} 归档入口发现官方 frame") + parsed = urllib.parse.urlsplit(candidates[-1]) + if parsed.hostname != "developer.android.com": + raise UpdateError(f"frame 域名不在白名单: {candidates[-1]}") + return candidates[-1] + + +def load_sources(offline_fixtures: bool, script_path: Path) -> tuple[str, str, str, dict[str, str]]: + if offline_fixtures: + fixture_dir = script_path.parent.parent / "tests" / "fixtures" + paths = { + "studio_frame": fixture_dir / "studio-frame.html", + "emulator_frame": fixture_dir / "emulator-frame.html", + "repository": fixture_dir / "repository2.xml", + } + try: + contents = {name: path.read_text(encoding="utf-8") for name, path in paths.items()} + except OSError as exc: + raise UpdateError(f"无法读取 fixture: {exc}") from exc + return ( + contents["studio_frame"], + contents["emulator_frame"], + contents["repository"], + {"studio": "fixture", "emulator": "fixture", "repository": "fixture"}, + ) + studio_entry = _fetch(STUDIO_ARCHIVE_URL) + emulator_entry = _fetch(EMULATOR_ARCHIVE_URL) + studio_frame_url = discover_frame_url(studio_entry, "archive") + emulator_frame_url = discover_frame_url(emulator_entry, "emulator_archive") + return ( + _fetch(studio_frame_url), + _fetch(emulator_frame_url), + _fetch(REPOSITORY_URL), + {"studio": studio_frame_url, "emulator": emulator_frame_url, "repository": REPOSITORY_URL}, + ) + + +def _summary(releases: Sequence[Release], duplicates: int, previous_count: int | None) -> dict[str, object]: + return { + "count": len(releases), + "duplicates_filtered": duplicates, + "previous_count": previous_count, + "latest": releases[0].name if releases else None, + "latest_date": releases[0].date_display if releases else None, + } + + +def run_update( + site_dir: Path, + mode: str, + offline_fixtures: bool, + script_path: Path, +) -> dict[str, object]: + studio_frame, emulator_frame, repository_xml, source_urls = load_sources(offline_fixtures, script_path) + studio, studio_duplicates = parse_releases(studio_frame, "Android Studio") + emulator, emulator_duplicates = parse_releases(emulator_frame, "Android Emulator") + repository_checks = validate_emulator_repository(emulator, repository_xml) + paths = {name: site_dir / name for name in TARGET_FILES} + try: + original_pages = {name: path.read_text(encoding="utf-8") for name, path in paths.items()} + except OSError as exc: + raise UpdateError(f"无法读取 site 页面: {exc}") from exc + + if mode == "bootstrap": + changed = bootstrap_site(site_dir, studio, emulator) + return { + "changed": bool(changed), + "changed_files": changed, + "studio": _summary(studio, studio_duplicates, None), + "emulator": _summary(emulator, emulator_duplicates, None), + "repository_cross_validation": repository_checks, + "source_urls": source_urls, + "mode": mode, + } + + old_studio_text = _marked_body(original_pages["android-studio.html"], "studio") + old_emulator_text = _marked_body(original_pages["android-emulator.html"], "emulator") + old_studio, _ = parse_releases(old_studio_text, "现有 Android Studio", accept_all_devsite_expandables=True) + old_emulator, _ = parse_releases(old_emulator_text, "现有 Android Emulator", accept_all_devsite_expandables=True) + _validate_transition(old_studio, studio, "Android Studio") + _validate_transition(old_emulator, emulator, "Android Emulator") + + updated_pages = dict(original_pages) + updated_pages["android-studio.html"] = _replace_marker( + updated_pages["android-studio.html"], "studio", render_releases("studio", studio) + ) + updated_pages["android-emulator.html"] = _replace_marker( + updated_pages["android-emulator.html"], "emulator", render_releases("emulator", emulator) + ) + updated_pages["index.html"] = _replace_marker( + updated_pages["index.html"], "studio-summary", render_releases("studio", studio[:2]) + ) + updated_pages["index.html"] = _replace_marker( + updated_pages["index.html"], "emulator-summary", render_releases("emulator", emulator[:2]) + ) + changed_files = [name for name in TARGET_FILES if updated_pages[name] != original_pages[name]] + if mode == "write": + for name in changed_files: + paths[name].write_text(updated_pages[name], encoding="utf-8") + return { + "changed": bool(changed_files), + "changed_files": changed_files, + "studio": _summary(studio, studio_duplicates, len(old_studio)), + "emulator": _summary(emulator, emulator_duplicates, len(old_emulator)), + "repository_cross_validation": repository_checks, + "source_urls": source_urls, + "mode": mode, + } + + +def _build_parser() -> argparse.ArgumentParser: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--site-dir", type=Path, default=Path("site")) + parser.add_argument("--mode", choices=("check", "write", "bootstrap"), default="check") + parser.add_argument("--offline-fixtures", action="store_true") + parser.add_argument("--report-json", type=Path) + return parser + + +def main(argv: Sequence[str] | None = None) -> int: + args = _build_parser().parse_args(argv) + try: + report = run_update( + site_dir=args.site_dir, + mode=args.mode, + offline_fixtures=args.offline_fixtures, + script_path=Path(__file__).resolve(), + ) + if args.report_json: + args.report_json.write_text(json.dumps(report, ensure_ascii=False, indent=2) + "\n", encoding="utf-8") + print(json.dumps(report, ensure_ascii=False, indent=2)) + if args.mode == "check" and report["changed"]: + return 2 + return 0 + except UpdateError as exc: + print(f"ERROR: {exc}", file=sys.stderr) + return 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/tests/fixtures/emulator-frame.html b/tests/fixtures/emulator-frame.html new file mode 100644 index 0000000..99b7479 --- /dev/null +++ b/tests/fixtures/emulator-frame.html @@ -0,0 +1,4465 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ diff --git a/tests/fixtures/repository2.xml b/tests/fixtures/repository2.xml new file mode 100644 index 0000000..7210163 --- /dev/null +++ b/tests/fixtures/repository2.xml @@ -0,0 +1,11778 @@ + + + + Terms and Conditions + +This is the Android Software Development Kit License Agreement + +1. Introduction + +1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. + +1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. + +1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). + +1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. + + +2. Accepting the License Agreement + +2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. + +2.2 By clicking to accept, you hereby agree to the terms of the License Agreement. + +2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. + +2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. + + +3. SDK License from Google + +3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. + +3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. + +3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. + +3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. + +3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. + +3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. + +3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. + +3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. + + +4. Use of the SDK by You + +4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. + +4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). + +4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. + +4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. + +4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. + +4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. + +5. Your Developer Credentials + +5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. + +6. Privacy and Information + +6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. + +6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. + + +7. Third Party Applications + +7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. + +7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. + +7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. + + +8. Using Android APIs + +8.1 Google Data APIs + +8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. + +8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. If you use the Android Recognition Service API, documented at the following URL: https://developer.android.com/reference/android/speech/RecognitionService, as updated from time to time, you acknowledge that the use of the API is subject to the Data Processing Addendum for Products where Google is a Data Processor, which is located at the following URL: https://privacy.google.com/businesses/gdprprocessorterms/, as updated from time to time. By clicking to accept, you hereby agree to the terms of the Data Processing Addendum for Products where Google is a Data Processor. + + +9. Terminating the License Agreement + +9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. + +9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. + +9.3 Google may at any time, terminate the License Agreement with you if: +(A) you have breached any provision of the License Agreement; or +(B) Google is required to do so by law; or +(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or +(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. + +9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. + + +10. DISCLAIMER OF WARRANTIES + +10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. + +10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. + +10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + + +11. LIMITATION OF LIABILITY + +11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. + + +12. Indemnification + +12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement. + + +13. Changes to the License Agreement + +13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. + + +14. General Legal Terms + +14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. + +14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. + +14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. + +14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. + +14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. + +14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. + +14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. + + +January 16, 2019 + + To get started with the Android SDK Preview, you must agree to the following terms and conditions. +As described below, please note that this is a preview version of the Android SDK, subject to change, that you use at your own risk. The Android SDK Preview is not a stable release, and may contain errors and defects that can result in serious damage to your computer systems, devices and data. + +This is the Android SDK Preview License Agreement (the "License Agreement"). + +1. Introduction + +1.1 The Android SDK Preview (referred to in the License Agreement as the “Preview” and specifically including the Android system files, packaged APIs, and Preview library files, if and when they are made available) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the Preview. + +1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. + +1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. + +2. Accepting the License Agreement + +2.1 In order to use the Preview, you must first agree to the License Agreement. You may not use the Preview if you do not accept the License Agreement. + +2.2 By clicking to accept and/or using the Preview, you hereby agree to the terms of the License Agreement. + +2.3 You may not use the Preview and may not accept the License Agreement if you are a person barred from receiving the Preview under the laws of the United States or other countries including the country in which you are resident or from which you use the Preview. + +2.4 If you will use the Preview internally within your company or organization you agree to be bound by the License Agreement on behalf of your employer or other entity, and you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the Preview on behalf of your employer or other entity. + +3. Preview License from Google + +3.1 Subject to the terms of the License Agreement, Google grants you a royalty-free, non-assignable, non-exclusive, non-sublicensable, limited, revocable license to use the Preview, personally or internally within your company or organization, solely to develop applications to run on the Android platform. + +3.2 You agree that Google or third parties owns all legal right, title and interest in and to the Preview, including any Intellectual Property Rights that subsist in the Preview. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. + +3.3 You may not use the Preview for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the Preview or any part of the Preview; or (b) load any part of the Preview onto a mobile handset or any other hardware device except a personal computer, combine any part of the Preview with other software, or distribute any software or device incorporating a part of the Preview. + +3.4 You agree that you will not take any actions that may cause or result in the fragmentation of Android, including but not limited to distributing, participating in the creation of, or promoting in any way a software development kit derived from the Preview. + +3.5 Use, reproduction and distribution of components of the Preview licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. You agree to remain a licensee in good standing in regard to such open source software licenses under all the rights granted and to refrain from any actions that may terminate, suspend, or breach such rights. + +3.6 You agree that the form and nature of the Preview that Google provides may change without prior notice to you and that future versions of the Preview may be incompatible with applications developed on previous versions of the Preview. You agree that Google may stop (permanently or temporarily) providing the Preview (or any features within the Preview) to you or to users generally at Google's sole discretion, without prior notice to you. + +3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. + +3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the Preview. + +4. Use of the Preview by You + +4.1 Google agrees that nothing in the License Agreement gives Google any right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the Preview, including any intellectual property rights that subsist in those applications. + +4.2 You agree to use the Preview and write applications only for purposes that are permitted by (a) the License Agreement, and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). + +4.3 You agree that if you use the Preview to develop applications, you will protect the privacy and legal rights of users. If users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If users provide you with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, each user has given you permission to do so. + +4.4 You agree that you will not engage in any activity with the Preview, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of Google or any third party. + +4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. + +4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. + +4.7 The Preview is in development, and your testing and feedback are an important part of the development process. By using the Preview, you acknowledge that implementation of some features are still under development and that you should not rely on the Preview having the full functionality of a stable release. You agree not to publicly distribute or ship any application using this Preview as this Preview will no longer be supported after the official Android SDK is released. + +5. Your Developer Credentials + +5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. + +6. Privacy and Information + +6.1 In order to continually innovate and improve the Preview, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the Preview are being used and how they are being used. Before any of this information is collected, the Preview will notify you and seek your consent. If you withhold consent, the information will not be collected. + +6.2 The data collected is examined in the aggregate to improve the Preview and is maintained in accordance with Google's Privacy Policy located at http://www.google.com/policies/privacy/. + +7. Third Party Applications + +7.1 If you use the Preview to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. + +7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. + +7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. + +8. Using Google APIs + +8.1 Google APIs + +8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. + +8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. + +9. Terminating the License Agreement + +9.1 the License Agreement will continue to apply until terminated by either you or Google as set out below. + +9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the Preview and any relevant developer credentials. + +9.3 Google may at any time, terminate the License Agreement, with or without cause, upon notice to you. + +9.4 The License Agreement will automatically terminate without notice or other action upon the earlier of: +(A) when Google ceases to provide the Preview or certain parts of the Preview to users in the country in which you are resident or from which you use the service; and +(B) Google issues a final release version of the Android SDK. + +9.5 When the License Agreement is terminated, the license granted to you in the License Agreement will terminate, you will immediately cease all use of the Preview, and the provisions of paragraphs 10, 11, 12 and 14 shall survive indefinitely. + +10. DISCLAIMERS + +10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE PREVIEW IS AT YOUR SOLE RISK AND THAT THE PREVIEW IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. + +10.2 YOUR USE OF THE PREVIEW AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE PREVIEW IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. WITHOUT LIMITING THE FOREGOING, YOU UNDERSTAND THAT THE PREVIEW IS NOT A STABLE RELEASE AND MAY CONTAIN ERRORS, DEFECTS AND SECURITY VULNERABILITIES THAT CAN RESULT IN SIGNIFICANT DAMAGE, INCLUDING THE COMPLETE, IRRECOVERABLE LOSS OF USE OF YOUR COMPUTER SYSTEM OR OTHER DEVICE. + +10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + +11. LIMITATION OF LIABILITY + +11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. + +12. Indemnification + +12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys’ fees) arising out of or accruing from (a) your use of the Preview, (b) any application you develop on the Preview that infringes any Intellectual Property Rights of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you of the License Agreement. + +13. Changes to the License Agreement + +13.1 Google may make changes to the License Agreement as it distributes new versions of the Preview. When these changes are made, Google will make a new version of the License Agreement available on the website where the Preview is made available. + +14. General Legal Terms + +14.1 the License Agreement constitutes the whole legal agreement between you and Google and governs your use of the Preview (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the Preview. + +14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. + +14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. + +14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. + +14.5 EXPORT RESTRICTIONS. THE PREVIEW IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE PREVIEW. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. + +14.6 The License Agreement may not be assigned or transferred by you without the prior written approval of Google, and any attempted assignment without such approval will be void. You shall not delegate your responsibilities or obligations under the License Agreement without the prior written approval of Google. + +14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. + +June 2014. + + stable + beta + dev + canary + + + 37.2 + CANARY + 24 + true + + + + 16 + + Android SDK Platform canary-20260909 + + + + + + 68344992 + 55333e3a8621df53c06e93b09334dd545e060136 + platform-canary-20260909_r16.zip + + + + + + + 37.2 + + 24 + true + + + + 1 + + Android SDK Platform 37.2 + + + + + + 68056472 + 4bec12a02162ff6852df50b5fcf8ee762b050966 + platform-37.2_r01.zip + + + + + + + 37.1 + DEV + 23 + true + + + + 3 + + Android SDK Platform 37.2-beta3 + + + + + + 68038752 + 4c0757f614d3455cac21fe5317a9fccf322127f6 + platform-37.2-beta3_r03.zip + + + + + + + 37.1 + DEV + 23 + true + + + + 2 + + Android SDK Platform 37.2-beta2 + + + + + + 67757684 + e27443b95492f41c4ef8fea7ec69f6fd6c662204 + platform-37.2-beta2_r02.zip + + + + + + + 37.1 + CinnamonBun + 23 + true + + + + 1 + + Android SDK Platform 37.2-beta1 + + + + + + 67734125 + ea5c02c184a299263943047fb6b83fa21654ce60 + platform-37.2-beta1_r01.zip + + + + + + + 37.1 + + 23 + true + + + + 1 + + Android SDK Platform 37.1 + + + + + + 67500655 + 62aeba1ec09c2b1fdf888e79549daf678fa0d75f + platform-37.1_r01.zip + + + + + + + 37.0 + + 22 + true + + + + 2 + + Android SDK Platform 37.0 + + + + + + 67281901 + ed8ebf7f8822a4de5686d427f237d2fa30ff7410 + platform-37.0_r02.zip + + + + + + + 37.1 + CANARY + 23 + true + + + + 15 + + Android SDK Platform CANARY + + + + + + 67921587 + f67f277643ae1aebc7971e7f81d2a3cd99cc0a7f + platform-CANARY_r15.zip + + + + + + + 36.1 + 20 + true + + + + 1 + + Android SDK Platform 36.1 + + + + + + 66270841 + f87dc23b7ddba6934908da6cfb58fd5b258077ce + platform-36.1_r01.zip + + + + + + + 36x + 19 + false + + + + 1 + + Android SDK Platform 36-ext19 + + + + + + 66057671 + 52e240c229cf2ad561ee262ebdfff266e180c585 + platform-36-ext19_r01.zip + + + + + + + 36x + 18 + false + + + + 1 + + Android SDK Platform 36-ext18 + + + + + + 66044874 + 33a7af9f531f6ce67b3ec357f619e69aa0a95c8a + platform-36-ext18_r01.zip + + + + + + + 35x + 15 + false + + + + 1 + + Android SDK Platform 35-ext15 + + + + + + 64492044 + ce757091f933b7ac646bf197ce8957cc73b95614 + platform-35-ext15_r01.zip + + + + + + + 36 + 17 + true + + + + 2 + + Android SDK Platform 36 + + + + + + 65878410 + 2c1a80dd4d9f7d0e6dd336ec603d9b5c55a6f576 + platform-36_r02.zip + + + + + + + 35x + 14 + false + + + + 1 + + Android SDK Platform 35-ext14 + + + + + + 64330898 + c0e5b5511562fc8b8a61b3b3f17f6ffa811e4971 + platform-35-ext14_r01.zip + + + + + + + 35 + 13 + true + + + + 2 + + Android SDK Platform 35 + + + + + + 64273788 + 0bb560a90a7a2cbd0dd8348224d518b638fe7949 + platform-35_r02.zip + + + + + + + 34x + 12 + false + + + + 1 + + Android SDK Platform 34-ext12 + + + + + + 63559957 + ba80ccbcc29b29f25ac926a08c0b2777f0bce842 + platform-34-ext12_r01.zip + + + + + + + 34x + 11 + false + + + + 1 + + Android SDK Platform 34-ext11 + + + + + + 63446827 + dfb498e3d0d97769aef5e1eb9ddff5b001e65829 + platform-34-ext11_r01.zip + + + + + + + 34x + + 10 + false + + + + 1 + + Android SDK Platform 34-ext10 + + + + + + 63393972 + 068496419fb4f4987374fdb2989d4f13acc62377 + platform-34-ext10_r01.zip + + + + + + + 34x + + 8 + false + + + + 1 + + Android SDK Platform 34-ext8 + + + + + + 63201407 + 71877402d579127b19158f9f170f05bcd805f686 + platform-34-ext8_r01.zip + + + + + + + 34 + + 7 + true + + + + 3 + + Android SDK Platform 34 + + + + + + 63180081 + 1f2e9478d6a7601425ceaa553311dc43191f103d + platform-34-ext7_r03.zip + + + + + + + 34 + + 7 + true + + + + 2 + + Android SDK Platform 34 + + + + + + 63180079 + f09b07da8aea238a81b71d6fedb815e13aa13e58 + platform-34-ext7_r02.zip + + + + + + + 33 + UpsideDownCake + 6 + true + + + + 4 + + Android SDK Platform UpsideDownCake + + + + + + 63483782 + a0fe6b17b8ea26c72f4a1feb0234aab6b20fd4be + platform-UpsideDownCake_r04.zip + + + + + + + 33x + + 5 + false + + + + 1 + + Android SDK Platform 33-ext5 + + + + + + 67581187 + a6499e158fdd7140e3e466314b273016281fefcc + platform-33-ext5_r01.zip + + + + + + + 33x + + 4 + false + + + + 1 + + Android SDK Platform 33-ext4 + + + + + + 67564453 + 422f50033523c5f934f38df520699080b59bbc7e + platform-33-ext4_r01.zip + + + + + + + 33 + + 3 + true + + + + 3 + + Android SDK Platform 33 + + + + + + 67334237 + 394bc86d8d3452aa4d419b67743025a6fb2cd9d0 + platform-33-ext3_r03.zip + + + + + + + 32 + + true + + + + 1 + + Android SDK Platform 32 + + + + + + 66108299 + afae86ed55d29733d50996ffed832f2d1bd75b9a + platform-32_r01.zip + + + + + + + 31 + + true + + + + 1 + + Android SDK Platform 31 + + + + + + 56475526 + ca5bcaa565cb37e9d287051d6dd0e49a5426ec29 + platform-31_r01.zip + + + + + + + 30 + + true + + + + 3 + + Android SDK Platform 30 + + + + + + 52328361 + e7c6280901dcfa511af098d67dd88c4dfcbc6ea2 + platform-30_r03.zip + + + + + + + 29 + + true + + + + 5 + + Android SDK Platform 29 + + + + + + 78293913 + 9d8a7e0ffa5168dbca6c60355b9129c6c7572aff + platform-29_r05.zip + + + + + + + 28 + + true + + + + 6 + + Android SDK Platform 28 + + + + + + 75565084 + 9a4e52b1d55bd2e24216b150aafae2503d3efba6 + platform-28_r06.zip + + + + + + + 27 + + true + + + + 3 + + Android SDK Platform 27 + + + + + + 65635348 + 35f747e7e70b2d16e0e4246876be28d15ea1c353 + platform-27_r03.zip + + + + + + + 26 + + true + + + + 2 + + Android SDK Platform 26 + + + + + + 63623734 + e4ae5d7aa557a3c827135838ee400da8443ac4ef + platform-26_r02.zip + + + + + + + 25 + + true + + + + 3 + + Android SDK Platform 25 + + + + + + 85424763 + 00c2c5765e8988504be10a1eb66ed71fcdbd7fe8 + platform-25_r03.zip + + + + + + + 24 + + true + + + + 2 + + Android SDK Platform 24 + + + + + + 82648154 + 8912da3d4bfe7a9f28f0e5ce92d3a8dc96342aee + platform-24_r02.zip + + + + + + + 23 + + true + + + + 3 + + Android SDK Platform 23 + + + + + + 70433421 + 027fede3de6aa1649115bbd0bffff30ccd51c9a0 + platform-23_r03.zip + + + + + + + 22 + + true + + + + 2 + + Android SDK Platform 22 + + + + + + 66852371 + 5d1bd10fea962b216a0dece1247070164760a9fc + android-22_r02.zip + + + + + + + 21 + + true + + + + 2 + + Android SDK Platform 21 + + + + + + 65897960 + 53536556059bb29ae82f414fd2e14bc335a4eb4c + android-21_r02.zip + + + + + + + 20 + + true + + + + 2 + + Android SDK Platform 20 + + + + + + 63567784 + a9251f8a3f313ab05834a07a963000927637e01d + android-20_r02.zip + + + + + + + 19 + + true + + + + 4 + + Android SDK Platform 19 + + + + + + 63871092 + 2ff20d89e68f2f5390981342e009db5a2d456aaa + android-19_r04.zip + + + + + + + 18 + + true + + + + 3 + + Android SDK Platform 18 + + + + + + 57771739 + e6b09b3505754cbbeb4a5622008b907262ee91cb + android-18_r03.zip + + + + + + + 17 + + true + + + + 3 + + Android SDK Platform 17 + + + + + + 57030216 + dbe14101c06e6cdb34e300393e64e64f8c92168a + android-17_r03.zip + + + + + + + 16 + + true + + + + 5 + + Android SDK Platform 16 + + + + + + 48128695 + 12a5ce6235a76bc30f62c26bda1b680e336abd07 + android-16_r05.zip + + + + + + + 15 + + true + + + + 5 + + Android SDK Platform 15 + + + + + + 44533475 + 69ab4c443b37184b2883af1fd38cc20cbeffd0f3 + android-15_r05.zip + + + + + + + 14 + + true + + + + 4 + + Android SDK Platform 14 + + + + + + 46038082 + d4f1d8fbca25225b5f0e7a0adf0d39c3d6e60b3c + android-14_r04.zip + + + + + + + 13 + + true + + + + 1 + + Android SDK Platform 13 + + + + + + 108426536 + 6189a500a8c44ae73a439604363de93591163cd9 + android-3.2_r01.zip + + + + + + + 12 + + true + + + + 3 + + Android SDK Platform 12 + + + + + + 106472351 + 4a50a6679cd95bb68bb5fc032e754cd7c5e2b1bf + android-3.1_r03.zip + + + + + + + 11 + + true + + + + 2 + + Android SDK Platform 11 + + + + + + 104513908 + 2c7d4bd13f276e76f6bbd87315fe27aba351dd37 + android-3.0_r02.zip + + + + + + + 10 + + true + + + + 2 + + Android SDK Platform 10 + + + + + + 85470907 + 887e37783ec32f541ea33c2c649dda648e8e6fb3 + android-2.3.3_r02.zip + + + + + + + 9 + + true + + + + 2 + + Android SDK Platform 9 + + + + + + 78732563 + 209f8a7a8b2cb093fce858b8b55fed3ba5206773 + android-2.3.1_r02.zip + + + + + + + 8 + + true + + + + 3 + + Android SDK Platform 8 + + + + + + 74652366 + 231262c63eefdff8fd0386e9ccfefeb27a8f9202 + android-2.2_r03.zip + + + + + + + 7 + + true + + + + 3 + + Android SDK Platform 7 + + + + + + 70142829 + 5ce51b023ac19f8738500b1007a1da5de2349a1e + android-2.1_r03.zip + + + + + + + 6 + + true + + + + 1 + + Android SDK Platform 6 + + + + + + 79192618 + ce2c971dce352aa28af06bda92a070116aa5ae1a + android-2.0.1_r01-linux.zip + + linux + + + + 79035527 + c3096f80d75a6fc8cb38ef8a18aec920e53d42c0 + android-2.0.1_r01-macosx.zip + + macosx + + + + 80385601 + 255781ebe4509d9707d0e77edda2815e2bc216e6 + android-2.0.1_r01-windows.zip + + windows + + + + + + 5 + + true + + + + 1 + + Android SDK Platform 5 + + + + + + 75095268 + be9be6a99ca32875c96ec7f91160ca9fce7e3c7d + android-2.0_r01-linux.zip + + linux + + + + 74956356 + 2a866d0870dbba18e0503cd41e5fae988a21b314 + android-2.0_r01-macosx.zip + + macosx + + + + 76288040 + aeb623217ff88b87216d6eb7dbc846ed53f68f57 + android-2.0_r01-windows.zip + + windows + + + + + + 4 + + true + + + + 3 + + Android SDK Platform 4 + + + + + + 63454485 + 483ed088e45bbdf3444baaf9250c8b02e5383cb0 + android-1.6_r03-linux.zip + + linux + + + + 62418496 + bdafad44f5df9f127979bdb21a1fdd87ee3cd625 + android-1.6_r03-macosx.zip + + macosx + + + + 64654625 + ce0b5e4ffaf12ca4fd07c2da71a8a1ab4a03dc22 + android-1.6_r03-windows.zip + + windows + + + + + + 3 + + true + + + + 4 + + Android SDK Platform 3 + + + + + + 53348669 + 5c134b7df5f4b8bd5b61ba93bdaebada8fa3468c + android-1.5_r04-linux.zip + + linux + + + + 52440607 + d3a67c2369afa48b6c3c7624de5031c262018d1e + android-1.5_r04-macosx.zip + + macosx + + + + 54624370 + 5bb106d2e40d481edd337b0833093843e15fe49a + android-1.5_r04-windows.zip + + windows + + + + + + 2 + + true + + + + 1 + + Android SDK Platform 2 + + + + + + 45476658 + c054d25c9b4c6251fa49c2f9c54336998679d3fe + android-1.1_r1-linux.zip + + linux + + + + 45584305 + e21dbcff45b7356657449ebb3c7e941be2bb5ebe + android-1.1_r1-macosx.zip + + macosx + + + + 46828615 + a4060f29ed39fc929c302836d488998c53c3002e + android-1.1_r1-windows.zip + + windows + + + + + + 37.2 + + 24 + true + + + 1 + + Sources for Android 37.2 + + + + + + 54168823 + e17cbd52887605a077121571b49ec3730ed0534e + source-37.2_r01.zip + + + + + + + 37.1 + + 23 + true + + + 1 + + Sources for Android 37.1 + + + + + + 53339267 + d1bb191997a96b334526470f630fcb74a80abd7c + source-37.1_r01.zip + + + + + + + 37.0 + + 22 + true + + + 2 + + Sources for Android 37.0 + + + + + + 52891611 + 759b8d2ef7e3ee01bb1ddc7d524cb26ec90dc928 + source-37.0_r02.zip + + + + + + + 36.1 + 20 + true + + + 1 + + Sources for Android 36.1 + + + + + + 51810808 + 54cea0371ec284404e06051cd389646d34470da4 + source-36.1_r01.zip + + + + + + + 36 + 17 + true + + + 1 + + Sources for Android 36 + + + + + + 51654722 + cbd2cf0e67abf996c4ad6cf6955c3a781d75852a + source-36_r01.zip + + + + + + + 35 + + 13 + true + + + 1 + + Sources for Android 35 + + + + + + 48616636 + c2770115a5f5ad787c8b298b93687a27eebb85b9 + source-35_r01.zip + + + + + + + 34 + + 7 + true + + + 2 + + Sources for Android 34 + + + + + + 45502712 + 0d2dcece3bbfc032f98986ce7f665b6b97d26bbf + sources-34_r01.zip + + + + + + + 33 + + 3 + true + + + 1 + + Sources for Android 33 + + + + + + 49205616 + dd9819363bb213e378bb9d84b4c5fe8d8091c219 + sources-33_r01.zip + + + + + + + 32 + + true + + + 1 + + Sources for Android 32 + + + + + + 46933291 + d7195c6de611b99d7ec3565eabe2fd21268b7f98 + sources-32_r01.zip + + + + + + + 31 + + true + + + 1 + + Sources for Android 31 + + + + + + 46383726 + 2934d1b2975a8bf9fff112bd45a04f6d90db743e + sources-31_r01.zip + + + + + + + 30 + + true + + + 1 + + Sources for Android 30 + + + + + + 43263073 + e4c000fb3afb32380609ddcad91f5d6495eeccb1 + sources-30_r01.zip + + + + + + + 29 + + true + + + 1 + + Sources for Android 29 + + + + + + 39477018 + d0ad249e152b3a8fe3cb7c4a329453a048be29e4 + sources-29_r01.zip + + + + + + + 28 + + true + + + 1 + + Sources for Android 28 + + + + + + 42552241 + 5610e0c24235ee3fa343c899ddd551be30315255 + sources-28_r01.zip + + + + + + + 27 + + true + + + 1 + + Sources for Android 27 + + + + + + 36997618 + 7b714670561d08f54751af42aca929867b806596 + sources-27_r01.zip + + + + + + + 26 + + true + + + 1 + + Sources for Android 26 + + + + + + 35138547 + 2af701ee3223d580409288540b1d06932fd8f9b9 + sources-26_r01.zip + + + + + + + 25 + + true + + + 1 + + Sources for Android 25 + + + + + + 30822685 + bbc72efd1a9bad87cc507e308f0d29aad438c52c + sources-25_r01.zip + + + + + + + 24 + + true + + + 1 + + Sources for Android 24 + + + + + + 30270410 + 6b96115830a83d654479f32ce4b724ca9011148b + sources-24_r01.zip + + + + + + + 23 + + true + + + 1 + + Sources for Android 23 + + + + + + 31771965 + b0f15da2762b42f543c5e364c2b15b198cc99cc2 + sources-23_r01.zip + + + + + + + 22 + + true + + + 1 + + Sources for Android 22 + + + + + + 28861236 + 98320e13976d11597a4a730a8d203ac9a03ed5a6 + sources-22_r01.zip + + + + + + + 21 + + true + + + 1 + + Sources for Android 21 + + + + + + 28274751 + 137a5044915d32bea297a8c1552684802bbc2e25 + sources-21_r01.zip + + + + + + + 20 + + true + + + 1 + + Sources for Android 20 + + + + + + 23367603 + 8da3e40f2625f9f7ef38b7e403f49f67226c0d76 + sources-20_r01.zip + + + + + + + 19 + + true + + + 2 + + Sources for Android 19 + + + + + + 21819439 + 433a1d043ef77561571250e94cb7a0ef24a202e7 + sources-19_r02.zip + + + + + + + 18 + + true + + + 1 + + Sources for Android 18 + + + + + + 20226735 + 8b49fdf7433f4881a2bfb559b5dd05d8ec65fb78 + sources-18_r01.zip + + + + + + + 17 + + true + + + 1 + + Sources for Android 17 + + + + + + 18976816 + 6f1f18cd2d2b1852d7f6892df9cee3823349d43a + sources-17_r01.zip + + + + + + + 16 + + true + + + 2 + + Sources for Android 16 + + + + + + 17876720 + 0f83c14ed333c45d962279ab5d6bc98a0269ef84 + sources-16_r02.zip + + + + + + + 15 + + true + + + 2 + + Sources for Android 15 + + + + + + 16468746 + e5992a5747c9590783fbbdd700337bf0c9f6b1fa + sources-15_r02.zip + + + + + + + 14 + + true + + + 1 + + Sources for Android 14 + + + + + + 16152383 + eaf4ed7dcac46e68516a1b4aa5b0d9e5a39a7555 + sources-14_r01.zip + + + + + + + + 30 + 0 + 16248370 + + NDK (Side by side) 30.0.16248370 + + + + + + 738633529 + 5107f898313790e449e87eee2183d9a20602dee9 + android-ndk-r30-linux.zip + + linux + + + + 974984488 + c060be96767eefbb8e0a27796d6f43115fc1a0c4 + android-ndk-r30-darwin.zip + + macosx + + + + 727980788 + 9bf167a1985fa7d4a036186b78f702eab9179408 + android-ndk-r30-windows.zip + + windows + + + + + + + 30 + 0 + 16138531 + 3 + + NDK (Side by side) 30.0.16138531 + + + + + + 738755979 + f66e852ac01a57f74bcf6fd96dcea04dda5ea392 + android-ndk-r30-beta3-linux.zip + + linux + + + + 975105215 + f92d3e9526d0a62ab48bab66c0b942ee094e9f2c + android-ndk-r30-beta3-darwin.zip + + macosx + + + + 728090945 + b89c9a0d141382a8311669a01db4af88b4067a8d + android-ndk-r30-beta3-windows.zip + + windows + + + + + + + 30 + 0 + 15729638 + 2 + + NDK (Side by side) 30.0.15729638 + + + + + + 737229785 + 069427047d18cc6e44369cd7b8e711bfc2c7a3b5 + android-ndk-r30-beta2-linux.zip + + linux + + + + 973958817 + 8742eb5075240884f74ed29ccd99d7a1f6852a6b + android-ndk-r30-beta2-darwin.zip + + macosx + + + + 727029070 + 5b5e308db4cfd7a51f5524f464dedec20682b5ed + android-ndk-r30-beta2-windows.zip + + windows + + + + + + + 30 + 0 + 14904198 + 1 + + NDK (Side by side) 30.0.14904198 + + + + + + 713550176 + 26b746e5a1e7ac3371f2a862a2f52a7c0740aa8a + android-ndk-r30-beta1-linux.zip + + linux + + + + 946331314 + 61f0ae7b4b6fdb732a642560b19e7fd5680fb257 + android-ndk-r30-beta1-darwin.zip + + macosx + + + + 714361038 + ec410335aac74d182b369a62c18079187b191149 + android-ndk-r30-beta1-windows.zip + + windows + + + + + + + 29 + 0 + 14206865 + + NDK (Side by side) 29.0.14206865 + + + + + + 783549481 + 87e2bb7e9be5d6a1c6cdf5ec40dd4e0c6d07c30b + android-ndk-r29-linux.zip + + linux + + + + 1049519838 + 03d29fbb57e3c05a7d53597dd011d856c1456a4f + android-ndk-r29-darwin.zip + + macosx + + + + 833850862 + ab3bb30fbb9e6903666d60c55d11e78b04e07472 + android-ndk-r29-windows.zip + + windows + + + + + + + 29 + 0 + 14033849 + 4 + + NDK (Side by side) 29.0.14033849 + + + + + + 783674133 + ecba553458e222a7c9b24945a3690e80a4730104 + android-ndk-r29-beta4-linux.zip + + linux + + + + 1049644109 + 7e9dce149b885efa43760830edd52f347d2e954c + android-ndk-r29-beta4-darwin.zip + + macosx + + + + 833962952 + c99b0f02915cd47ba1b64f4ab3f0daf02281a9c7 + android-ndk-r29-beta4-windows.zip + + windows + + + + + + + 29 + 0 + 13846066 + 3 + + NDK (Side by side) 29.0.13846066 + + + + + + 784944032 + 277ccc0f9c56b05dd88e0af39446cd9402b13b0c + android-ndk-r29-beta3-linux.zip + + linux + + + + 1049515449 + f1a4894f0ae115827539c0da251e78df565d9abd + android-ndk-r29-beta3-darwin.zip + + macosx + + + + 833874261 + 51b40aa57d8058d901e70357734651ecc69d705a + android-ndk-r29-beta3-windows.zip + + windows + + + + + + + 27 + 3 + 13750724 + + NDK (Side by side) 27.3.13750724 + + + + + + 663956036 + 22105e410cf29afcf163760cc95522b9fb981121 + android-ndk-r27d-linux.zip + + linux + + + + 839006233 + 2970926d705988f79baa9b04c51b4f7914dd8c56 + android-ndk-r27d-darwin.zip + + macosx + + + + 781506724 + 56607cbccd3642d4a1991f6bb3114a00f884f426 + android-ndk-r27d-windows.zip + + windows + + + + + + + 28 + 2 + 13676358 + + NDK (Side by side) 28.2.13676358 + + + + + + 722261334 + a7b54a5de87fecd125a17d54f73c446199e72a64 + android-ndk-r28c-linux.zip + + linux + + + + 952495160 + fc20a6bf15a30fb3428c9b60a7308793a362dc6d + android-ndk-r28c-darwin.zip + + macosx + + + + 748118221 + 086bba43ff2f5eb0e387b15c8278bb4e0d89ba1d + android-ndk-r28c-windows.zip + + windows + + + + + + + 29 + 0 + 13599879 + 2 + + NDK (Side by side) 29.0.13599879 + + + + + + 773244047 + 06c29d6764526fb51407d08fcead41247ddd3b70 + android-ndk-r29-beta2-linux.zip + + linux + + + + 1027864991 + 09be4f8fb626a9c93415198ea8e75d8d82f528fa + android-ndk-r29-beta2-darwin.zip + + macosx + + + + 821169899 + 59b665f7506f1079771393f2c90f3cb29817ecfb + android-ndk-r29-beta2-windows.zip + + windows + + + + + + + 28 + 1 + 13356709 + + NDK (Side by side) 28.1.13356709 + + + + + + 722264879 + f574d3165405bd59ffc5edaadac02689075a729f + android-ndk-r28b-linux.zip + + linux + + + + 949590256 + 6dec1444aceeadd46cf5e1438c28bcc521fc6668 + android-ndk-r28b-darwin.zip + + macosx + + + + 748117965 + c7d82072807fcabbd6ee356476761d8729307185 + android-ndk-r28b-windows.zip + + windows + + + + + + + 29 + 0 + 13113456 + 1 + + NDK (Side by side) 29.0.13113456 + + + + + + 773995428 + ec2d8801e42009edf66be853c1bab9ba216378f9 + android-ndk-r29-beta1-linux.zip + + linux + + + + 1027792565 + 485c42ff6a04ef0ec9612420b3226de443f46e7a + android-ndk-r29-beta1-darwin.zip + + macosx + + + + 821548547 + 90347ffa01dd1833b9ff116865958976fd66c264 + android-ndk-r29-beta1-windows.zip + + windows + + + + + + + 28 + 0 + 13004108 + + NDK (Side by side) 28.0.13004108 + + + + + + 723148067 + 894f469c5192a116d21f412de27966140a530ebc + android-ndk-r28-linux.zip + + linux + + + + 950413046 + da6bbb3d007095658ae61d9d85da8fcc5c0dfb66 + android-ndk-r28-darwin.zip + + macosx + + + + 748943210 + f79a00c721dc5c15b2bf093d7bb2af96496a42b2 + android-ndk-r28-windows.zip + + windows + + + + + + + 28 + 0 + 12916984 + 3 + + NDK (Side by side) 28.0.12916984 + + + + + + 723256962 + 69348e24577122339b3996d2ef1ac4e6f7f5d627 + android-ndk-r28-beta3-linux.zip + + linux + + + + 950521645 + cd2f13196082923d2568c9e43f08bc1cbd2f1c76 + android-ndk-r28-beta3-darwin.zip + + macosx + + + + 749041370 + 72e641edd8ef24b7b3c4935ac0b0340d87251450 + android-ndk-r28-beta3-windows.zip + + windows + + + + + + + 28 + 0 + 12674087 + 2 + + NDK (Side by side) 28.0.12674087 + + + + + + 721452166 + 4b901eeb50a76ba521e4eb1e611cb43658b54440 + android-ndk-r28-beta2-linux.zip + + linux + + + + 946868930 + 1b702451e4cae82eb1d5449bc03875b248a47dc6 + android-ndk-r28-beta2-darwin.zip + + macosx + + + + 746919470 + 410a9863a8c2559bd4bb1f29517ea525c41859ab + android-ndk-r28-beta2-windows.zip + + windows + + + + + + + 27 + 2 + 12479018 + + NDK (Side by side) 27.2.12479018 + + + + + + 663987688 + 090e8083a715fdb1a3e402d0763c388abb03fb4e + android-ndk-r27c-linux.zip + + linux + + + + 836128272 + 0217c10ffbec496bb9fbfbb3c6fc2477c6b77297 + android-ndk-r27c-darwin.zip + + macosx + + + + 781511249 + ac5f7762764b1f15341094e148ad4f847d050c38 + android-ndk-r27c-windows.zip + + windows + + + + + + + 28 + 0 + 12433566 + 1 + + NDK (Side by side) 28.0.12433566 + + + + + + 626833250 + 92dd6d941340624c4fc702ebc7e7cbd6faeb703d + android-ndk-r28-beta1-linux.zip + + linux + + + + 810429167 + 768dde1389e3245ca5a8a8151161b6d1ee60c78d + android-ndk-r28-beta1-darwin.zip + + macosx + + + + 746848976 + 97328457d44dceae79f1cf488684419e0fec851a + android-ndk-r28-beta1-windows.zip + + windows + + + + + + + 27 + 1 + 12297006 + + NDK (Side by side) 27.1.12297006 + + + + + + 663976775 + 6fc476b2e57d7c01ac0c95817746b927035b9749 + android-ndk-r27b-linux.zip + + linux + + + + 836151734 + c70c9791b0d258858678f6df31c4319140e2926e + android-ndk-r27b-darwin.zip + + macosx + + + + 781495902 + 3bb7efc850cd0af7707854b7e0d5c3b6a7153703 + android-ndk-r27b-windows.zip + + windows + + + + + + + 27 + 0 + 12077973 + + NDK (Side by side) 27.0.12077973 + + + + + + 663957918 + 5e5cd517bdb98d7e0faf2c494a3041291e71bdcc + android-ndk-r27-linux.zip + + linux + + + + 836135405 + 1a4a8c39c018430ff170657fc1673d895f5e4570 + android-ndk-r27-darwin.zip + + macosx + + + + 781482169 + 0ea2756e6815356831bda3af358cce4cdb6a981e + android-ndk-r27-windows.zip + + windows + + + + + + + 27 + 0 + 11902837 + 2 + + NDK (Side by side) 27.0.11902837 + + + + + + 662398163 + 93103e182405b9d7757231a1d9dad58937a6374b + android-ndk-r27-beta2-linux.zip + + linux + + + + 836162827 + 48af6bb62dbfff2f68b39cf118494ebd5ba3b8ad + android-ndk-r27-beta2-darwin.zip + + macosx + + + + 781461627 + 30f4103bc32fd28a5b93bb610db0130cfe9ff125 + android-ndk-r27-beta2-windows.zip + + windows + + + + + + + 27 + 0 + 11718014 + 1 + + NDK (Side by side) 27.0.11718014 + + + + + + 658958615 + 35a78f7544ccc72d8438d8ea2feb7f252a062abe + android-ndk-r27-beta1-linux.zip + + linux + + + + 841636299 + 0206d7e1c4255c40acc691fad8bf943f055e627e + android-ndk-r27-beta1-darwin.zip + + macosx + + + + 785017110 + 147b5b333cc57875e34b88ccd29efbe58963264d + android-ndk-r27-beta1-windows.zip + + windows + + + + + + + 26 + 3 + 11579264 + + NDK (Side by side) 26.3.11579264 + + + + + + 668556491 + fcdad75a765a46a9cf6560353f480db251d14765 + android-ndk-r26d-linux.zip + + linux + + + + 990809031 + cebe7af9bdadc67b8f919d549e9ab269831fd2c9 + android-ndk-r26d-darwin.zip + + macosx + + + + 665022840 + c7ea35ffe916082876611da1a6d5618d15430c29 + android-ndk-r26d-windows.zip + + windows + + + + + + + 23 + 0 + 7344513 + 4 + + NDK (Side by side) 23.0.7344513 + + + + + + 694920487 + a8fedcf0dd3b3a340e68684a5a2308154a952039 + android-ndk-r23-beta4-darwin-aarch64.zip + + macosx + aarch64 + + + + 694920487 + a8fedcf0dd3b3a340e68684a5a2308154a952039 + android-ndk-r23-beta4-darwin-x86_64.zip + + macosx + x64 + + + + 724510864 + 5f44bc1789042358a73c15e0ef732ea729cf47cc + android-ndk-r23-beta4-linux-x86_64.zip + + linux + x64 + + + + 785615074 + 4492af1296d07c0c65ce42f10ecac06c3c307b94 + android-ndk-r23-beta4-windows-x86_64.zip + + windows + x64 + + + + + + + 23 + 0 + 7272597 + 3 + + NDK (Side by side) 23.0.7272597 + + + + + + 695243724 + 3b977f0f8e0fa2d6777fae6b1d37aebfc075ab56 + android-ndk-r23-beta3-darwin-aarch64.zip + + macosx + aarch64 + + + + 695243724 + 3b977f0f8e0fa2d6777fae6b1d37aebfc075ab56 + android-ndk-r23-beta3-darwin-x86_64.zip + + macosx + x64 + + + + 724828157 + 2298465ef13dab0c527b9cf6ef892b1ec6461fb4 + android-ndk-r23-beta3-linux-x86_64.zip + + linux + x64 + + + + 785932724 + 8c10a51f50f4f12ccc839dcb4bd8107133024c2f + android-ndk-r23-beta3-windows-x86_64.zip + + windows + x64 + + + + + + + 23 + 0 + 7196353 + 2 + + NDK (Side by side) 23.0.7196353 + + + + + + 674507658 + 454fd0c1e8385896ad465d7cfd653e28fbf3523f + android-ndk-r23-beta2-darwin-aarch64.zip + + macosx + aarch64 + + + + 674507658 + 454fd0c1e8385896ad465d7cfd653e28fbf3523f + android-ndk-r23-beta2-darwin-x86_64.zip + + macosx + x64 + + + + 705747711 + 290e8c39bb9732ac8784855e1f22342eb488228e + android-ndk-r23-beta2-linux-x86_64.zip + + linux + x64 + + + + 747953762 + 00194ae44ce90f2052ab8e42f1a11a0db8d50c2a + android-ndk-r23-beta2-windows-x86_64.zip + + windows + x64 + + + + + + + 23 + 0 + 7123448 + 1 + + NDK (Side by side) 23.0.7123448 + + + + + + 721278316 + 708ebbceb719c43a3165503ea82fb107d823ad54 + android-ndk-r23-beta1-darwin-aarch64.zip + + macosx + aarch64 + + + + 721278316 + 708ebbceb719c43a3165503ea82fb107d823ad54 + android-ndk-r23-beta1-darwin-x86_64.zip + + macosx + x64 + + + + 804392699 + 1340ed20f27fcb184ea814ae63e0f3cd75890342 + android-ndk-r23-beta1-linux-x86_64.zip + + linux + x64 + + + + 749304589 + c056900896129d3dd4eb953a53a8961d9853aa20 + android-ndk-r23-beta1-windows-x86_64.zip + + windows + x64 + + + + + + + 22 + 1 + 7171670 + + NDK (Side by side) 22.1.7171670 + + + + + + 1049337733 + dc80e8a2cfcb28db74c1931d42c652e9d17ff2c3 + android-ndk-r22b-darwin-aarch64.zip + + macosx + aarch64 + + + + 1049337733 + dc80e8a2cfcb28db74c1931d42c652e9d17ff2c3 + android-ndk-r22b-darwin-x86_64.zip + + macosx + x64 + + + + 1148198368 + 9ece64c7f19763dd67320d512794969930fce9dc + android-ndk-r22b-linux-x86_64.zip + + linux + x64 + + + + 1082301775 + 96ba1a049303cf6bf3ee84cfd64d6bcd43486a50 + android-ndk-r22b-windows-x86_64.zip + + windows + x64 + + + + + + + 22 + 0 + 7026061 + + NDK (Side by side) 22.0.7026061 + + + + + + 1047577432 + 9cf3816ed3e4308ff03bd5f69100b373bad12f13 + android-ndk-r22-darwin-aarch64.zip + + macosx + aarch64 + + + + 1047577432 + 9cf3816ed3e4308ff03bd5f69100b373bad12f13 + android-ndk-r22-darwin-x86_64.zip + + macosx + x64 + + + + 1146450986 + 82274313aba10da6177fd41868f56a0f9651dd81 + android-ndk-r22-linux-x86_64.zip + + linux + x64 + + + + 1080471370 + c03f761caf1c6f5efbeb5ccfa573ea922cb955b3 + android-ndk-r22-windows-x86_64.zip + + windows + x64 + + + + + + + 22 + 0 + 6917172 + 1 + + NDK (Side by side) 22.0.6917172 + + + + + + 1047697781 + 0ff242f820663fe45773bca7a2df036004fc7c69 + android-ndk-r22-beta1-darwin-aarch64.zip + + macosx + aarch64 + + + + 1047697781 + 0ff242f820663fe45773bca7a2df036004fc7c69 + android-ndk-r22-beta1-darwin-x86_64.zip + + macosx + x64 + + + + 1146575022 + 687f696f43b23e2623e7f7073bbd575d254f66f6 + android-ndk-r22-beta1-linux-x86_64.zip + + linux + x64 + + + + 1080588810 + ef38999c0e3c96124acffab6971ad2054a433b91 + android-ndk-r22-beta1-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 4 + 7075529 + + NDK (Side by side) 21.4.7075529 + + + + + + 1042617180 + 3f15c23a1c247ad17c7c271806848dbd40434738 + android-ndk-r21e-darwin-aarch64.zip + + macosx + aarch64 + + + + 1042617180 + 3f15c23a1c247ad17c7c271806848dbd40434738 + android-ndk-r21e-darwin-x86_64.zip + + macosx + x64 + + + + 1190670072 + c3ebc83c96a4d7f539bd72c241b2be9dcd29bda9 + android-ndk-r21e-linux-x86_64.zip + + linux + x64 + + + + 1109665123 + fc44fea8bb3f5a6789821f40f41dce2d2cd5dc30 + android-ndk-r21e-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 3 + 6528147 + + NDK (Side by side) 21.3.6528147 + + + + + + 1042615469 + ef06c9f9d7efd6f243eb3c05ac440562ae29ae12 + android-ndk-r21d-darwin-aarch64.zip + + macosx + aarch64 + + + + 1042615469 + ef06c9f9d7efd6f243eb3c05ac440562ae29ae12 + android-ndk-r21d-darwin-x86_64.zip + + macosx + x64 + + + + 1190667841 + bcf4023eb8cb6976a4c7cff0a8a8f145f162bf4d + android-ndk-r21d-linux-x86_64.zip + + linux + x64 + + + + 1109536102 + 99175ce1210258f2280568cd340e0666c69955c7 + android-ndk-r21d-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 2 + 6472646 + + NDK (Side by side) 21.2.6472646 + + + + + + 1014322452 + c42a836f6697a4ef8b927813d5f7dd12e974cfba + android-ndk-r21c-darwin-aarch64.zip + + macosx + aarch64 + + + + 1014322452 + c42a836f6697a4ef8b927813d5f7dd12e974cfba + android-ndk-r21c-darwin-x86_64.zip + + macosx + x64 + + + + 1162375023 + c81a5bcb4672a18d3647bf6898cd4dbcb978d0e8 + android-ndk-r21c-linux-x86_64.zip + + linux + x64 + + + + 1079490351 + 93563a1297a60b5da49a48f62340dbf0c878a5f3 + android-ndk-r21c-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 1 + 6352462 + + NDK (Side by side) 21.1.6352462 + + + + + + 1014473187 + e1de2f749c5c32ae991c3ccaabfcdf7688ee221f + android-ndk-r21b-darwin-aarch64.zip + + macosx + aarch64 + + + + 1014473187 + e1de2f749c5c32ae991c3ccaabfcdf7688ee221f + android-ndk-r21b-darwin-x86_64.zip + + macosx + x64 + + + + 1162377080 + 50250fcba479de477b45801e2699cca47f7e1267 + android-ndk-r21b-linux-x86_64.zip + + linux + x64 + + + + 1079474640 + 6809fac4a6e829f4bac64628fa9835d57bbd61a8 + android-ndk-r21b-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 1 + 6363665 + 3 + + NDK (Side by side) 21.1.6363665 + + + + + + 1042902819 + 767f722c14dd27a22b17903e09b768407131129e + android-ndk-r21b-beta3-darwin-aarch64.zip + + macosx + aarch64 + + + + 1042902819 + 767f722c14dd27a22b17903e09b768407131129e + android-ndk-r21b-beta3-darwin-x86_64.zip + + macosx + x64 + + + + 1190809917 + 29139085aa402d6b27d4394c30e797f814876d1e + android-ndk-r21b-beta3-linux-x86_64.zip + + linux + x64 + + + + 1109667800 + 8ecb03c728b8dc814db30c8152c4436cb1536c8d + android-ndk-r21b-beta3-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 1 + 6273396 + 2 + + NDK (Side by side) 21.1.6273396 + + + + + + 987112894 + 41110daad93e6a9a3662d7dd2fb233b21be3d27e + android-ndk-r21b-beta2-darwin-aarch64.zip + + macosx + aarch64 + + + + 987112894 + 41110daad93e6a9a3662d7dd2fb233b21be3d27e + android-ndk-r21b-beta2-darwin-x86_64.zip + + macosx + x64 + + + + 1071784976 + b9a6463ab72ad183c89e5316f0c5493f64b54966 + android-ndk-r21b-beta2-linux-x86_64.zip + + linux + x64 + + + + 1087508597 + dc6dc614cbd94b345b66f85d3f867638593fb199 + android-ndk-r21b-beta2-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 1 + 6210238 + 1 + + NDK (Side by side) 21.1.6210238 + + + + + + 987084422 + 971609f9a579ebbcb8d121a5d5aa0cba716b2d1f + android-ndk-r21b-beta1-darwin-x86_64.zip + + macosx + x64 + + + + 1071756532 + cf06ed408663c11c8f4824f9370c7a900ec074dd + android-ndk-r21b-beta1-linux-x86_64.zip + + linux + x64 + + + + 1087478202 + a920ca1ab75733b510180cef23f3797ded40dbb7 + android-ndk-r21b-beta1-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 0 + 6113669 + + NDK (Side by side) 21.0.6113669 + + + + + + 958656601 + 0d50636cc0e34ed3ba540d6d5818ea0cf10f16aa + android-ndk-r21-darwin-x86_64.zip + + macosx + x64 + + + + 1043332542 + afc9c0b9faad222898ac8168c78ad4ccac8a1b5c + android-ndk-r21-linux-x86_64.zip + + linux + x64 + + + + 1057294207 + c61631eacbd40c30273b716a4e589c6877b85419 + android-ndk-r21-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 0 + 6011959 + 2 + + NDK (Side by side) 21.0.6011959 + + + + + + 958791657 + 34a46c3867c9d87a80895c0b8a098256052536d2 + android-ndk-r21-beta2-darwin-x86_64.zip + + macosx + x64 + + + + 1043467643 + 335f30302bee700a9a5fdfe3ae533a4963499c44 + android-ndk-r21-beta2-linux-x86_64.zip + + linux + x64 + + + + 1057424857 + e5902e4f6c5b6f0354a2572a85f42f19c1a7b9d8 + android-ndk-r21-beta2-windows-x86_64.zip + + windows + x64 + + + + + + + 20 + 1 + 5948944 + + NDK (Side by side) 20.1.5948944 + + + + + + 843201217 + b51290ab69cb89de1f0ba108702277bc333b38be + android-ndk-r20b-darwin-aarch64.zip + + macosx + aarch64 + + + + 843201217 + b51290ab69cb89de1f0ba108702277bc333b38be + android-ndk-r20b-darwin-x86_64.zip + + macosx + x64 + + + + 859780564 + d903fdf077039ad9331fb6c3bee78aa46d45527b + android-ndk-r20b-linux-x86_64.zip + + linux + x64 + + + + 814464692 + 71a1ba20475da1d83b0f1a1826813008f628d59b + android-ndk-r20b-windows-x86.zip + + windows + x86 + + + + 832473103 + ead0846608040b8344ad2bc9bc721b88cf13fb8d + android-ndk-r20b-windows-x86_64.zip + + windows + x64 + + + + + + + 20 + 0 + 5594570 + + NDK (Side by side) 20.0.5594570 + + + + + + 843152912 + 96d5f1c50452596912d1982439c514194b5751e6 + android-ndk-r20-darwin-aarch64.zip + + macosx + aarch64 + + + + 843152912 + 96d5f1c50452596912d1982439c514194b5751e6 + android-ndk-r20-darwin-x86_64.zip + + macosx + x64 + + + + 859737910 + 8665fc84a1b1f0d6ab3b5fdd1e30200cc7b9adff + android-ndk-r20-linux-x86_64.zip + + linux + x64 + + + + 814417431 + b605f7e2e7585af2fc9d59fe9ddad86b64b2bf03 + android-ndk-r20-windows-x86.zip + + windows + x86 + + + + 832429986 + 36e1dc77fad08ad2498fb94b13ad8caf26bbd9df + android-ndk-r20-windows-x86_64.zip + + windows + x64 + + + + + + + 20 + 0 + 5471264 + 3 + + NDK (Side by side) 20.0.5471264 + + + + + + 843617071 + 665a035cadb0dd03e6502ba25c18643f6e4ede24 + android-ndk-r20-beta3-darwin-aarch64.zip + + macosx + aarch64 + + + + 843617071 + 665a035cadb0dd03e6502ba25c18643f6e4ede24 + android-ndk-r20-beta3-darwin-x86_64.zip + + macosx + x64 + + + + 860198768 + 674d8fb0e0df8e8be1c31fa321eb176548a19ba3 + android-ndk-r20-beta3-linux-x86_64.zip + + linux + x64 + + + + 814872365 + f9d1c5366ee5bf4927ac1c18f06143550b492e92 + android-ndk-r20-beta3-windows-x86.zip + + windows + x86 + + + + 832889871 + 9375dc82cf576f4a255bf908dfc628d8ddee0d89 + android-ndk-r20-beta3-windows-x86_64.zip + + windows + x64 + + + + + + + 20 + 0 + 5392854 + 2 + + NDK (Side by side) 20.0.5392854 + + + + + + 840834121 + cd94191ace6b31ec9af1cc370173e16934e1cb8b + android-ndk-r20-beta2-darwin-aarch64.zip + + macosx + aarch64 + + + + 840834121 + cd94191ace6b31ec9af1cc370173e16934e1cb8b + android-ndk-r20-beta2-darwin-x86_64.zip + + macosx + x64 + + + + 857406412 + 8285ae2e24a7232fd0cbfb55e955c8586ef2ee02 + android-ndk-r20-beta2-linux-x86_64.zip + + linux + x64 + + + + 812086484 + 15a8085b8ce5ecf0705ded2335513055693bddaa + android-ndk-r20-beta2-windows-x86.zip + + windows + x86 + + + + 830099430 + c89022bd9a2c32b42a1b94e98bbd88ab4c4e350e + android-ndk-r20-beta2-windows-x86_64.zip + + windows + x64 + + + + + + + 19 + 2 + 5345600 + + NDK (Side by side) 19.2.5345600 + + + + + + 807630656 + f46b8193109bba8a58e0461c1a48f4534051fb25 + android-ndk-r19c-darwin-aarch64.zip + + macosx + aarch64 + + + + 807630656 + f46b8193109bba8a58e0461c1a48f4534051fb25 + android-ndk-r19c-darwin-x86_64.zip + + macosx + x64 + + + + 823376982 + fd94d0be6017c6acbd193eb95e09cf4b6f61b834 + android-ndk-r19c-linux-x86_64.zip + + linux + x64 + + + + 778598286 + 132cc0c9e31b9e58ad6505b0816ff9e524422ed2 + android-ndk-r19c-windows-x86.zip + + windows + x86 + + + + 796051997 + c4cd8c0b6e7618ca0a871a5f24102e40c239f6a3 + android-ndk-r19c-windows-x86_64.zip + + windows + x64 + + + + + + + 19 + 0 + 5232133 + + NDK (Side by side) 19.0.5232133 + + + + + + 807592927 + 86c1a962601b23b8a6d3d535c93b4b0bc4f29249 + android-ndk-r19-darwin-aarch64.zip + + macosx + aarch64 + + + + 807592927 + 86c1a962601b23b8a6d3d535c93b4b0bc4f29249 + android-ndk-r19-darwin-x86_64.zip + + macosx + x64 + + + + 823337344 + f02ad84cb5b6e1ff3eea9e6168037c823408c8ac + android-ndk-r19-linux-x86_64.zip + + linux + x64 + + + + 778544468 + 281175a42b312d630f864a02a31c5806ada5663b + android-ndk-r19-windows-x86.zip + + windows + x86 + + + + 795986424 + 37906e8e79a9dddf6805325f706a072055e4136c + android-ndk-r19-windows-x86_64.zip + + windows + x64 + + + + + + + 18 + 1 + 5063045 + + NDK (Side by side) 18.1.5063045 + + + + + + 542911996 + 98cb9909aa8c2dab32db188bbdc3ac6207e09440 + android-ndk-r18b-darwin-aarch64.zip + + macosx + aarch64 + + + + 542911996 + 98cb9909aa8c2dab32db188bbdc3ac6207e09440 + android-ndk-r18b-darwin-x86_64.zip + + macosx + x64 + + + + 557038702 + 500679655da3a86aecf67007e8ab230ea9b4dd7b + android-ndk-r18b-linux-x86_64.zip + + linux + x64 + + + + 504605336 + 4b8b6a4edc0fa967b429c1d6d25adf69acc28803 + android-ndk-r18b-windows-x86.zip + + windows + x86 + + + + 522489470 + 6b6d4138aaaad7166679fdfa4780e177f95cee6f + android-ndk-r18b-windows-x86_64.zip + + windows + x64 + + + + + + + 17 + 2 + 4988734 + + NDK (Side by side) 17.2.4988734 + + + + + + 675091485 + f97e3d7711497e3b4faf9e7b3fa0f0da90bb649c + android-ndk-r17c-darwin-aarch64.zip + + macosx + aarch64 + + + + 675091485 + f97e3d7711497e3b4faf9e7b3fa0f0da90bb649c + android-ndk-r17c-darwin-x86_64.zip + + macosx + x64 + + + + 709387703 + 12cacc70c3fd2f40574015631c00f41fb8a39048 + android-ndk-r17c-linux-x86_64.zip + + linux + x64 + + + + 608358310 + 5bb25bf13fa494ee6c3433474c7aa90009f9f6a9 + android-ndk-r17c-windows-x86.zip + + windows + x86 + + + + 650626501 + 3e3b8d1650f9d297d130be2b342db956003f5992 + android-ndk-r17c-windows-x86_64.zip + + windows + x64 + + + + + + + 16 + 1 + 4479499 + + NDK (Side by side) 16.1.4479499 + + + + + + 839630771 + e51e615449b98c716cf912057e2682e75d55e2de + android-ndk-r16b-darwin-aarch64.zip + + macosx + aarch64 + + + + 839630771 + e51e615449b98c716cf912057e2682e75d55e2de + android-ndk-r16b-darwin-x86_64.zip + + macosx + x64 + + + + 852525873 + 42aa43aae89a50d1c66c3f9fdecd676936da6128 + android-ndk-r16b-linux-x86_64.zip + + linux + x64 + + + + 656720029 + becaf3d445a4877ca1a9300a62f0934a4838c7fa + android-ndk-r16b-windows-x86.zip + + windows + x86 + + + + 723301086 + f3f1909ed1052e98dda2c79d11c22f3da28daf25 + android-ndk-r16b-windows-x86_64.zip + + windows + x64 + + + + + + + 26 + 2 + 11394342 + + NDK (Side by side) 26.2.11394342 + + + + + + 983592055 + ceb609baf514614015279b5eee7dffc859426952 + android-ndk-r26c-darwin.zip + + macosx + + + + 668556021 + 7faebe2ebd3590518f326c82992603170f07c96e + android-ndk-r26c-linux.zip + + linux + + + + 660158794 + f8c8aa6135241954461b2e3629cada4722e13ee7 + android-ndk-r26c-windows.zip + + windows + + + + + + + 26 + 1 + 10909125 + + NDK (Side by side) 26.1.10909125 + + + + + + 985051981 + 44df0485bbd565b89585b687bb748521a98f65a8 + android-ndk-r26b-darwin.zip + + macosx + + + + 669320864 + fdf33d9f6c1b3f16e5459d53a82c7d2201edbcc4 + android-ndk-r26b-linux.zip + + linux + + + + 661624075 + 17453c61a59e848cffb8634f2c7b322417f1732e + android-ndk-r26b-windows.zip + + windows + + + + + + + 26 + 0 + 10792818 + + NDK (Side by side) 26.0.10792818 + + + + + + 983623748 + 5c74249e80549db0f2feddc58e1838d3d2cc6d42 + android-ndk-r26-darwin.zip + + macosx + + + + 668596633 + d3bef08e0e43acd9e7815538df31818692d548bb + android-ndk-r26-linux.zip + + linux + + + + 664790510 + 7fcf5789bc248c130af675720353819f72b02b94 + android-ndk-r26-windows.zip + + windows + + + + + + + 26 + 0 + 10636728 + 2 + + NDK (Side by side) 26.0.10636728 + + + + + + 983731026 + 295be7e8514eff8dae7aa01dc7e9978fa85fa64e + android-ndk-r26-rc1-darwin.zip + + macosx + + + + 668698776 + 6ec8c08204409fea4853bf0317660caadabfc8b0 + android-ndk-r26-rc1-linux.zip + + linux + + + + 664889050 + d4f4aa8a863e6e7cc0c433f1ecd8a304da4848a7 + android-ndk-r26-rc1-windows.zip + + windows + + + + + + + 26 + 0 + 10404224 + 1 + + NDK (Side by side) 26.0.10404224 + + + + + + 983730774 + d6dbb122cf3fc52a64ae0d19d120a01ce0052f3b + android-ndk-r26-beta1-darwin.zip + + macosx + + + + 668699088 + fb5e34313766764d9654b04603e69af813b18799 + android-ndk-r26-beta1-linux.zip + + linux + + + + 664889266 + bcdc60cf0149fc862cbb5514e7879d8c46c6e1e0 + android-ndk-r26-beta1-windows.zip + + windows + + + + + + + 25 + 2 + 9519653 + + NDK (Side by side) 25.2.9519653 + + + + + + 717255580 + 75717f3473973c3630e772ec916de380157a593a + android-ndk-r25c-darwin.zip + + macosx + + + + 531118193 + 53af80a1cce9144025b81c78c8cd556bff42bd0e + android-ndk-r25c-linux.zip + + linux + + + + 467520926 + 18c4a3cd108916f553b1bedad2672f2c6cd85a10 + android-ndk-r25c-windows.zip + + windows + + + + + + + 25 + 1 + 8937393 + + NDK (Side by side) 25.1.8937393 + + + + + + 716592117 + 248f96de6713cbec8707ee2262d3cf08d14d9fde + android-ndk-r25b-darwin.zip + + macosx + + + + 530975885 + e27dcb9c8bcaa77b78ff68c3f23abcf6867959eb + android-ndk-r25b-linux.zip + + linux + + + + 467422601 + b2e9b5ab2e1434a65ffd85780891878cf5c6fd92 + android-ndk-r25b-windows.zip + + windows + + + + + + + 25 + 0 + 8775105 + + NDK (Side by side) 25.0.8775105 + + + + + + 716557039 + 8c54514c62f635dbbc161e30e21f16bcd22526df + android-ndk-r25-darwin.zip + + macosx + + + + 530938532 + 9fce956edb6abd5aca42acf6bbfb21a90a67f75b + android-ndk-r25-linux.zip + + linux + + + + 467387858 + 1da93e7da5803dd8ef47e9283ec2c7b98d34b8da + android-ndk-r25-windows.zip + + windows + + + + + + + 25 + 0 + 8528842 + 4 + + NDK (Side by side) 25.0.8528842 + + + + + + 716633626 + d7f344ecc68518a8178d15b1b80e27bc5c69f00d + android-ndk-r25-beta4-darwin.zip + + macosx + + + + 531018178 + d13f688fd286709f0d950c75119ec9fcad8a47ff + android-ndk-r25-beta4-linux.zip + + linux + + + + 464031742 + 668b063c7c535c4f8be52c84acebb5779935203b + android-ndk-r25-beta4-windows.zip + + windows + + + + + + + 25 + 0 + 8355429 + 3 + + NDK (Side by side) 25.0.8355429 + + + + + + 748047157 + 224594abb41357c20cb4a9f4a732c484b2e743ba + android-ndk-r25-beta3-darwin.zip + + macosx + + + + 510520692 + 79c8db05e20edde0cbb02d2326e7b8405f7eb977 + android-ndk-r25-beta3-linux.zip + + linux + + + + 506142216 + 7d2c398045f6bbad03f6fb2f2ba419a2a48ab1e7 + android-ndk-r25-beta3-windows.zip + + windows + + + + + + + 25 + 0 + 8221429 + 2 + + NDK (Side by side) 25.0.8221429 + + + + + + 915502522 + 51961d41ffe63ac664edf26b51906ec07213e088 + android-ndk-r25-beta2-darwin.zip + + macosx + + + + 677975159 + 3b7435a1a851a4b2dadeafa466f323db9235dd9a + android-ndk-r25-beta2-linux.zip + + linux + + + + 673597865 + 4fd188fdba7413c397bcaa342039d07266c954b6 + android-ndk-r25-beta2-windows.zip + + windows + + + + + + + 25 + 0 + 8151533 + 1 + + NDK (Side by side) 25.0.8151533 + + + + + + 918358459 + 32024b773d65dd445cf8cf52156a331c544ee7e0 + android-ndk-r25-beta1-darwin.zip + + macosx + + + + 680831029 + 0acca5e8faa47a6c961c358d724a93e33f8d6caf + android-ndk-r25-beta1-linux.zip + + linux + + + + 676453790 + a5486182f79696794eb1a216c11f5e29652e72d1 + android-ndk-r25-beta1-windows.zip + + windows + + + + + + + 24 + 0 + 8079956 + 3 + + NDK (Side by side) 24.0.8079956 + + + + + + 901524232 + c7f3552e5bd6a76ea7fd460fe49afb4c7bdc5e39 + android-ndk-r24-rc1-darwin.zip + + macosx + + + + 667835859 + de2a02e65c1c720336fe991dc708875539df85bf + android-ndk-r24-rc1-linux.zip + + linux + + + + 663173050 + dbc9f19cc758285192c26238b4b87be207464bf2 + android-ndk-r24-rc1-windows.zip + + windows + + + + + + + 24 + 0 + 8215888 + + NDK (Side by side) 24.0.8215888 + + + + + + 901417197 + fc4d0d86e3c802e8c4a6865d99cff58b336e2d5a + android-ndk-r24-darwin.zip + + macosx + + + + 667731974 + eceb18f147282eb93615eff1ad84a9d3962fbb31 + android-ndk-r24-linux.zip + + linux + + + + 663076813 + 75f9c281c64762d18c84da465f486c60def47829 + android-ndk-r24-windows.zip + + windows + + + + + + + 24 + 0 + 7956693 + 2 + + NDK (Side by side) 24.0.7956693 + + + + + + 948103952 + 9f95216133c78e871a31b35278dce524956579bd + android-ndk-r24-beta2-darwin.zip + + macosx + + + + 695411089 + 78f3006243c0bc051c7c7bfb939689032e7c41ba + android-ndk-r24-beta2-linux.zip + + linux + + + + 661623688 + d4eb40c03259094ae3ea05134ee17af717f48d6d + android-ndk-r24-beta2-windows.zip + + windows + + + + + + + 24 + 0 + 7856742 + 1 + + NDK (Side by side) 24.0.7856742 + + + + + + 950494966 + de560fe3bc8b760d598a08bc329030cf36f6a490 + android-ndk-r24-beta1-darwin.zip + + macosx + + + + 684615573 + 4e43e498699b00cab8b07d431b65a0c1aa022313 + android-ndk-r24-beta1-linux.zip + + linux + + + + 690364848 + ade5412e9ac0dd206824e9249a5fbc11c9c248bf + android-ndk-r24-beta1-windows.zip + + windows + + + + + + + 23 + 2 + 8568313 + + NDK (Side by side) 23.2.8568313 + + + + + + 982917530 + 1fc65d8f6083f3f5cd01e0cf97c6adc10f4f076f + android-ndk-r23c-darwin.zip + + macosx + + + + 724733960 + e5053c126a47e84726d9f7173a04686a71f9a67a + android-ndk-r23c-linux.zip + + linux + + + + 788336993 + f2c5def76a9de371f27d028864fe301ab4fe0cf8 + android-ndk-r23c-windows.zip + + windows + + + + + + + 23 + 1 + 7779620 + + NDK (Side by side) 23.1.7779620 + + + + + + 978956151 + 4f54966e733f92964f097887bedfdd0faa0f7042 + android-ndk-r23b-darwin.zip + + macosx + + + + 725122099 + f47ec4c4badd11e9f593a8450180884a927c330d + android-ndk-r23b-linux.zip + + linux + + + + 788638042 + 6e3fb50022c611a2b13d02f5de5c21cc7206a298 + android-ndk-r23b-windows.zip + + windows + + + + + + + 23 + 0 + 7599858 + + NDK (Side by side) 23.0.7599858 + + + + + + 691981924 + c19f4a29e03689ea31bebe77f2d0a256d8e16925 + android-ndk-r23-darwin.zip + + macosx + + + + 721667870 + 9bad35f442caeda747780ba1dd92f2d98609d9cd + android-ndk-r23-linux.zip + + linux + + + + 782684423 + 14af52e23af9f7a9e7576a17e1814701192745be + android-ndk-r23-windows.zip + + windows + + + + + + + 23 + 0 + 7530507 + 6 + + NDK (Side by side) 23.0.7530507 + + + + + + 695336572 + af299c3e4f6fd3e6f05b1699a0181d84a95068c4 + android-ndk-r23-beta6-darwin.zip + + macosx + + + + 725026229 + b3118a9daeff8ad1801c4dbaeda1e5e5fb33b8a5 + android-ndk-r23-beta6-linux.zip + + linux + + + + 786033634 + 386f5c80217f6f33d6420f7de4f935eaff831868 + android-ndk-r23-beta6-windows.zip + + windows + + + + + + + 23 + 0 + 7421159 + 5 + + NDK (Side by side) 23.0.7421159 + + + + + + 694850942 + 9ef60fcc7a4bb0477d4189c711853cbc12b24efe + android-ndk-r23-beta5-darwin.zip + + macosx + + + + 724438684 + 453ba0ca124e43337318f8a40d26cab114e7092c + android-ndk-r23-beta5-linux.zip + + linux + + + + 785543078 + ace75623181ce86bc70df312155c04b9d8ff3e46 + android-ndk-r23-beta5-windows.zip + + windows + + + + + + + 23 + 0 + 7344513 + 4 + + NDK + + + + + + 694920487 + a8fedcf0dd3b3a340e68684a5a2308154a952039 + android-ndk-r23-beta4-darwin-aarch64.zip + + macosx + aarch64 + + + + 694920487 + a8fedcf0dd3b3a340e68684a5a2308154a952039 + android-ndk-r23-beta4-darwin-x86_64.zip + + macosx + x64 + + + + 724510864 + 5f44bc1789042358a73c15e0ef732ea729cf47cc + android-ndk-r23-beta4-linux-x86_64.zip + + linux + x64 + + + + 785615074 + 4492af1296d07c0c65ce42f10ecac06c3c307b94 + android-ndk-r23-beta4-windows-x86_64.zip + + windows + x64 + + + + + + + 23 + 0 + 7272597 + 3 + + NDK + + + + + + 695243724 + 3b977f0f8e0fa2d6777fae6b1d37aebfc075ab56 + android-ndk-r23-beta3-darwin-aarch64.zip + + macosx + aarch64 + + + + 695243724 + 3b977f0f8e0fa2d6777fae6b1d37aebfc075ab56 + android-ndk-r23-beta3-darwin-x86_64.zip + + macosx + x64 + + + + 724828157 + 2298465ef13dab0c527b9cf6ef892b1ec6461fb4 + android-ndk-r23-beta3-linux-x86_64.zip + + linux + x64 + + + + 785932724 + 8c10a51f50f4f12ccc839dcb4bd8107133024c2f + android-ndk-r23-beta3-windows-x86_64.zip + + windows + x64 + + + + + + + 23 + 0 + 7196353 + 2 + + NDK + + + + + + 674507658 + 454fd0c1e8385896ad465d7cfd653e28fbf3523f + android-ndk-r23-beta2-darwin-aarch64.zip + + macosx + aarch64 + + + + 674507658 + 454fd0c1e8385896ad465d7cfd653e28fbf3523f + android-ndk-r23-beta2-darwin-x86_64.zip + + macosx + x64 + + + + 705747711 + 290e8c39bb9732ac8784855e1f22342eb488228e + android-ndk-r23-beta2-linux-x86_64.zip + + linux + x64 + + + + 747953762 + 00194ae44ce90f2052ab8e42f1a11a0db8d50c2a + android-ndk-r23-beta2-windows-x86_64.zip + + windows + x64 + + + + + + + 23 + 0 + 7123448 + 1 + + NDK + + + + + + 721278316 + 708ebbceb719c43a3165503ea82fb107d823ad54 + android-ndk-r23-beta1-darwin-aarch64.zip + + macosx + aarch64 + + + + 721278316 + 708ebbceb719c43a3165503ea82fb107d823ad54 + android-ndk-r23-beta1-darwin-x86_64.zip + + macosx + x64 + + + + 804392699 + 1340ed20f27fcb184ea814ae63e0f3cd75890342 + android-ndk-r23-beta1-linux-x86_64.zip + + linux + x64 + + + + 749304589 + c056900896129d3dd4eb953a53a8961d9853aa20 + android-ndk-r23-beta1-windows-x86_64.zip + + windows + x64 + + + + + + + 22 + 1 + 7171670 + + NDK + + + + + + 1049337733 + dc80e8a2cfcb28db74c1931d42c652e9d17ff2c3 + android-ndk-r22b-darwin-aarch64.zip + + macosx + aarch64 + + + + 1049337733 + dc80e8a2cfcb28db74c1931d42c652e9d17ff2c3 + android-ndk-r22b-darwin-x86_64.zip + + macosx + x64 + + + + 1148198368 + 9ece64c7f19763dd67320d512794969930fce9dc + android-ndk-r22b-linux-x86_64.zip + + linux + x64 + + + + 1082301775 + 96ba1a049303cf6bf3ee84cfd64d6bcd43486a50 + android-ndk-r22b-windows-x86_64.zip + + windows + x64 + + + + + + + 22 + 0 + 7026061 + + NDK + + + + + + 1047577432 + 9cf3816ed3e4308ff03bd5f69100b373bad12f13 + android-ndk-r22-darwin-aarch64.zip + + macosx + aarch64 + + + + 1047577432 + 9cf3816ed3e4308ff03bd5f69100b373bad12f13 + android-ndk-r22-darwin-x86_64.zip + + macosx + x64 + + + + 1146450986 + 82274313aba10da6177fd41868f56a0f9651dd81 + android-ndk-r22-linux-x86_64.zip + + linux + x64 + + + + 1080471370 + c03f761caf1c6f5efbeb5ccfa573ea922cb955b3 + android-ndk-r22-windows-x86_64.zip + + windows + x64 + + + + + + + 22 + 0 + 6917172 + 1 + + NDK + + + + + + 1047697781 + 0ff242f820663fe45773bca7a2df036004fc7c69 + android-ndk-r22-beta1-darwin-aarch64.zip + + macosx + aarch64 + + + + 1047697781 + 0ff242f820663fe45773bca7a2df036004fc7c69 + android-ndk-r22-beta1-darwin-x86_64.zip + + macosx + x64 + + + + 1146575022 + 687f696f43b23e2623e7f7073bbd575d254f66f6 + android-ndk-r22-beta1-linux-x86_64.zip + + linux + x64 + + + + 1080588810 + ef38999c0e3c96124acffab6971ad2054a433b91 + android-ndk-r22-beta1-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 4 + 7075529 + + NDK + + + + + + 1042617180 + 3f15c23a1c247ad17c7c271806848dbd40434738 + android-ndk-r21e-darwin-aarch64.zip + + macosx + aarch64 + + + + 1042617180 + 3f15c23a1c247ad17c7c271806848dbd40434738 + android-ndk-r21e-darwin-x86_64.zip + + macosx + x64 + + + + 1190670072 + c3ebc83c96a4d7f539bd72c241b2be9dcd29bda9 + android-ndk-r21e-linux-x86_64.zip + + linux + x64 + + + + 1109665123 + fc44fea8bb3f5a6789821f40f41dce2d2cd5dc30 + android-ndk-r21e-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 3 + 6528147 + + NDK + + + + + + 1042615469 + ef06c9f9d7efd6f243eb3c05ac440562ae29ae12 + android-ndk-r21d-darwin-aarch64.zip + + macosx + aarch64 + + + + 1042615469 + ef06c9f9d7efd6f243eb3c05ac440562ae29ae12 + android-ndk-r21d-darwin-x86_64.zip + + macosx + x64 + + + + 1190667841 + bcf4023eb8cb6976a4c7cff0a8a8f145f162bf4d + android-ndk-r21d-linux-x86_64.zip + + linux + x64 + + + + 1109536102 + 99175ce1210258f2280568cd340e0666c69955c7 + android-ndk-r21d-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 2 + 6472646 + + NDK + + + + + + 1014322452 + c42a836f6697a4ef8b927813d5f7dd12e974cfba + android-ndk-r21c-darwin-aarch64.zip + + macosx + aarch64 + + + + 1014322452 + c42a836f6697a4ef8b927813d5f7dd12e974cfba + android-ndk-r21c-darwin-x86_64.zip + + macosx + x64 + + + + 1162375023 + c81a5bcb4672a18d3647bf6898cd4dbcb978d0e8 + android-ndk-r21c-linux-x86_64.zip + + linux + x64 + + + + 1079490351 + 93563a1297a60b5da49a48f62340dbf0c878a5f3 + android-ndk-r21c-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 1 + 6352462 + + NDK + + + + + + 1014473187 + e1de2f749c5c32ae991c3ccaabfcdf7688ee221f + android-ndk-r21b-darwin-aarch64.zip + + macosx + aarch64 + + + + 1014473187 + e1de2f749c5c32ae991c3ccaabfcdf7688ee221f + android-ndk-r21b-darwin-x86_64.zip + + macosx + x64 + + + + 1162377080 + 50250fcba479de477b45801e2699cca47f7e1267 + android-ndk-r21b-linux-x86_64.zip + + linux + x64 + + + + 1079474640 + 6809fac4a6e829f4bac64628fa9835d57bbd61a8 + android-ndk-r21b-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 1 + 6363665 + 3 + + NDK + + + + + + 1042902819 + 767f722c14dd27a22b17903e09b768407131129e + android-ndk-r21b-beta3-darwin-aarch64.zip + + macosx + aarch64 + + + + 1042902819 + 767f722c14dd27a22b17903e09b768407131129e + android-ndk-r21b-beta3-darwin-x86_64.zip + + macosx + x64 + + + + 1190809917 + 29139085aa402d6b27d4394c30e797f814876d1e + android-ndk-r21b-beta3-linux-x86_64.zip + + linux + x64 + + + + 1109667800 + 8ecb03c728b8dc814db30c8152c4436cb1536c8d + android-ndk-r21b-beta3-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 1 + 6273396 + 2 + + NDK + + + + + + 987112894 + 41110daad93e6a9a3662d7dd2fb233b21be3d27e + android-ndk-r21b-beta2-darwin-aarch64.zip + + macosx + aarch64 + + + + 987112894 + 41110daad93e6a9a3662d7dd2fb233b21be3d27e + android-ndk-r21b-beta2-darwin-x86_64.zip + + macosx + x64 + + + + 1071784976 + b9a6463ab72ad183c89e5316f0c5493f64b54966 + android-ndk-r21b-beta2-linux-x86_64.zip + + linux + x64 + + + + 1087508597 + dc6dc614cbd94b345b66f85d3f867638593fb199 + android-ndk-r21b-beta2-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 1 + 6210238 + 1 + + NDK + + + + + + 987084422 + 971609f9a579ebbcb8d121a5d5aa0cba716b2d1f + android-ndk-r21b-beta1-darwin-x86_64.zip + + macosx + x64 + + + + 1071756532 + cf06ed408663c11c8f4824f9370c7a900ec074dd + android-ndk-r21b-beta1-linux-x86_64.zip + + linux + x64 + + + + 1087478202 + a920ca1ab75733b510180cef23f3797ded40dbb7 + android-ndk-r21b-beta1-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 0 + 6113669 + + NDK + + + + + + 958656601 + 0d50636cc0e34ed3ba540d6d5818ea0cf10f16aa + android-ndk-r21-darwin-x86_64.zip + + macosx + x64 + + + + 1043332542 + afc9c0b9faad222898ac8168c78ad4ccac8a1b5c + android-ndk-r21-linux-x86_64.zip + + linux + x64 + + + + 1057294207 + c61631eacbd40c30273b716a4e589c6877b85419 + android-ndk-r21-windows-x86_64.zip + + windows + x64 + + + + + + + 21 + 0 + 6011959 + 2 + + NDK + + + + + + 958791657 + 34a46c3867c9d87a80895c0b8a098256052536d2 + android-ndk-r21-beta2-darwin-x86_64.zip + + macosx + x64 + + + + 1043467643 + 335f30302bee700a9a5fdfe3ae533a4963499c44 + android-ndk-r21-beta2-linux-x86_64.zip + + linux + x64 + + + + 1057424857 + e5902e4f6c5b6f0354a2572a85f42f19c1a7b9d8 + android-ndk-r21-beta2-windows-x86_64.zip + + windows + x64 + + + + + + + 20 + 1 + 5948944 + + NDK + + + + + + 843201217 + b51290ab69cb89de1f0ba108702277bc333b38be + android-ndk-r20b-darwin-aarch64.zip + + macosx + aarch64 + + + + 843201217 + b51290ab69cb89de1f0ba108702277bc333b38be + android-ndk-r20b-darwin-x86_64.zip + + macosx + x64 + + + + 859780564 + d903fdf077039ad9331fb6c3bee78aa46d45527b + android-ndk-r20b-linux-x86_64.zip + + linux + x64 + + + + 814464692 + 71a1ba20475da1d83b0f1a1826813008f628d59b + android-ndk-r20b-windows-x86.zip + + windows + x86 + + + + 832473103 + ead0846608040b8344ad2bc9bc721b88cf13fb8d + android-ndk-r20b-windows-x86_64.zip + + windows + x64 + + + + + + + 20 + 0 + 5594570 + + NDK + + + + + + 843152912 + 96d5f1c50452596912d1982439c514194b5751e6 + android-ndk-r20-darwin-aarch64.zip + + macosx + aarch64 + + + + 843152912 + 96d5f1c50452596912d1982439c514194b5751e6 + android-ndk-r20-darwin-x86_64.zip + + macosx + x64 + + + + 859737910 + 8665fc84a1b1f0d6ab3b5fdd1e30200cc7b9adff + android-ndk-r20-linux-x86_64.zip + + linux + x64 + + + + 814417431 + b605f7e2e7585af2fc9d59fe9ddad86b64b2bf03 + android-ndk-r20-windows-x86.zip + + windows + x86 + + + + 832429986 + 36e1dc77fad08ad2498fb94b13ad8caf26bbd9df + android-ndk-r20-windows-x86_64.zip + + windows + x64 + + + + + + + 20 + 0 + 5471264 + 3 + + NDK + + + + + + 843617071 + 665a035cadb0dd03e6502ba25c18643f6e4ede24 + android-ndk-r20-beta3-darwin-aarch64.zip + + macosx + aarch64 + + + + 843617071 + 665a035cadb0dd03e6502ba25c18643f6e4ede24 + android-ndk-r20-beta3-darwin-x86_64.zip + + macosx + x64 + + + + 860198768 + 674d8fb0e0df8e8be1c31fa321eb176548a19ba3 + android-ndk-r20-beta3-linux-x86_64.zip + + linux + x64 + + + + 814872365 + f9d1c5366ee5bf4927ac1c18f06143550b492e92 + android-ndk-r20-beta3-windows-x86.zip + + windows + x86 + + + + 832889871 + 9375dc82cf576f4a255bf908dfc628d8ddee0d89 + android-ndk-r20-beta3-windows-x86_64.zip + + windows + x64 + + + + + + + 20 + 0 + 5392854 + 2 + + NDK + + + + + + 840834121 + cd94191ace6b31ec9af1cc370173e16934e1cb8b + android-ndk-r20-beta2-darwin-aarch64.zip + + macosx + aarch64 + + + + 840834121 + cd94191ace6b31ec9af1cc370173e16934e1cb8b + android-ndk-r20-beta2-darwin-x86_64.zip + + macosx + x64 + + + + 857406412 + 8285ae2e24a7232fd0cbfb55e955c8586ef2ee02 + android-ndk-r20-beta2-linux-x86_64.zip + + linux + x64 + + + + 812086484 + 15a8085b8ce5ecf0705ded2335513055693bddaa + android-ndk-r20-beta2-windows-x86.zip + + windows + x86 + + + + 830099430 + c89022bd9a2c32b42a1b94e98bbd88ab4c4e350e + android-ndk-r20-beta2-windows-x86_64.zip + + windows + x64 + + + + + + + 19 + 2 + 5345600 + + NDK + + + + + + 807630656 + f46b8193109bba8a58e0461c1a48f4534051fb25 + android-ndk-r19c-darwin-aarch64.zip + + macosx + aarch64 + + + + 807630656 + f46b8193109bba8a58e0461c1a48f4534051fb25 + android-ndk-r19c-darwin-x86_64.zip + + macosx + x64 + + + + 823376982 + fd94d0be6017c6acbd193eb95e09cf4b6f61b834 + android-ndk-r19c-linux-x86_64.zip + + linux + x64 + + + + 778598286 + 132cc0c9e31b9e58ad6505b0816ff9e524422ed2 + android-ndk-r19c-windows-x86.zip + + windows + x86 + + + + 796051997 + c4cd8c0b6e7618ca0a871a5f24102e40c239f6a3 + android-ndk-r19c-windows-x86_64.zip + + windows + x64 + + + + + + + 19 + 0 + 5232133 + + NDK + + + + + + 807592927 + 86c1a962601b23b8a6d3d535c93b4b0bc4f29249 + android-ndk-r19-darwin-aarch64.zip + + macosx + aarch64 + + + + 807592927 + 86c1a962601b23b8a6d3d535c93b4b0bc4f29249 + android-ndk-r19-darwin-x86_64.zip + + macosx + x64 + + + + 823337344 + f02ad84cb5b6e1ff3eea9e6168037c823408c8ac + android-ndk-r19-linux-x86_64.zip + + linux + x64 + + + + 778544468 + 281175a42b312d630f864a02a31c5806ada5663b + android-ndk-r19-windows-x86.zip + + windows + x86 + + + + 795986424 + 37906e8e79a9dddf6805325f706a072055e4136c + android-ndk-r19-windows-x86_64.zip + + windows + x64 + + + + + + + 18 + 1 + 5063045 + + NDK + + + + + + 542911996 + 98cb9909aa8c2dab32db188bbdc3ac6207e09440 + android-ndk-r18b-darwin-aarch64.zip + + macosx + aarch64 + + + + 542911996 + 98cb9909aa8c2dab32db188bbdc3ac6207e09440 + android-ndk-r18b-darwin-x86_64.zip + + macosx + x64 + + + + 557038702 + 500679655da3a86aecf67007e8ab230ea9b4dd7b + android-ndk-r18b-linux-x86_64.zip + + linux + x64 + + + + 504605336 + 4b8b6a4edc0fa967b429c1d6d25adf69acc28803 + android-ndk-r18b-windows-x86.zip + + windows + x86 + + + + 522489470 + 6b6d4138aaaad7166679fdfa4780e177f95cee6f + android-ndk-r18b-windows-x86_64.zip + + windows + x64 + + + + + + + 17 + 2 + 4988734 + + NDK + + + + + + 675091485 + f97e3d7711497e3b4faf9e7b3fa0f0da90bb649c + android-ndk-r17c-darwin-aarch64.zip + + macosx + aarch64 + + + + 675091485 + f97e3d7711497e3b4faf9e7b3fa0f0da90bb649c + android-ndk-r17c-darwin-x86_64.zip + + macosx + x64 + + + + 709387703 + 12cacc70c3fd2f40574015631c00f41fb8a39048 + android-ndk-r17c-linux-x86_64.zip + + linux + x64 + + + + 608358310 + 5bb25bf13fa494ee6c3433474c7aa90009f9f6a9 + android-ndk-r17c-windows-x86.zip + + windows + x86 + + + + 650626501 + 3e3b8d1650f9d297d130be2b342db956003f5992 + android-ndk-r17c-windows-x86_64.zip + + windows + x64 + + + + + + + 16 + 1 + 4479499 + + NDK + + + + + + 839630771 + e51e615449b98c716cf912057e2682e75d55e2de + android-ndk-r16b-darwin-aarch64.zip + + macosx + aarch64 + + + + 839630771 + e51e615449b98c716cf912057e2682e75d55e2de + android-ndk-r16b-darwin-x86_64.zip + + macosx + x64 + + + + 852525873 + 42aa43aae89a50d1c66c3f9fdecd676936da6128 + android-ndk-r16b-linux-x86_64.zip + + linux + x64 + + + + 656720029 + becaf3d445a4877ca1a9300a62f0934a4838c7fa + android-ndk-r16b-windows-x86.zip + + windows + x86 + + + + 723301086 + f3f1909ed1052e98dda2c79d11c22f3da28daf25 + android-ndk-r16b-windows-x86_64.zip + + windows + x64 + + + + + + + 37 + 0 + 0 + + Android SDK Build-Tools 37 + + + + + + 66135704 + 70954e99f4c3d9d46ee70fa32624672fe7cd6ebe + build-tools_r37_linux.zip + + linux + + + + 61077164 + e9c97e26b5b5678002e9d3fed632c841ae62d99f + build-tools_r37_windows.zip + + windows + + + + 81933386 + eb080751b2b2028eb3604f571027d6f7b3c46321 + build-tools_r37_macosx.zip + + macosx + + + + + + + 37 + 0 + 0 + 2 + + Android SDK Build-Tools 37-rc2 + + + + + + 64585510 + 3ffc47b1aefa6b7c457e0d84958a804ba5b8fc83 + build-tools_r37-rc2_linux.zip + + linux + + + + 59571314 + c76a22fee5b2f04b355ecd13e84abd594f83841f + build-tools_r37-rc2_windows.zip + + windows + + + + 80361572 + 88c354b73d57df160d59b5935e2716bbb570c60e + build-tools_r37-rc2_macosx.zip + + macosx + + + + + + + 37 + 0 + 0 + 1 + + Android SDK Build-Tools 37-rc1 + + + + + + 64355745 + c036221340ef6d39ad7adae6befc260beaa54085 + build-tools_r37-rc1_linux.zip + + linux + + + + 59343079 + 70447369a17f8b4687e7237733d024dfb8c5a797 + build-tools_r37-rc1_windows.zip + + windows + + + + 80130907 + 0e6aad38e1ad4d4c6ac24332942a2007f4b50779 + build-tools_r37-rc1_macosx.zip + + macosx + + + + + + + 36 + 1 + 0 + + Android SDK Build-Tools 36.1 + + + + + + 64195204 + 936a0d6bd5ae3e2118a7567dddbc95ff67ed46e9 + build-tools_r36.1_linux.zip + + linux + + + + 59366211 + 95f048ae758dad90617975fe3f787f038b03338c + build-tools_r36.1_windows.zip + + windows + + + + 80527175 + d365b05ca1810ca92b428b92717865ad4188b5e1 + build-tools_r36.1_macosx.zip + + macosx + + + + + + + 36 + 1 + 0 + 1 + + Android SDK Build-Tools 36.1-rc1 + + + + + + 63756747 + 63a81b0689c2358da5462b4f2b00eef622420f4a + build-tools_r36.1-rc1_linux.zip + + linux + + + + 59047572 + db361020bc9545dec77379d44dcc0b15be1de1ba + build-tools_r36.1-rc1_windows.zip + + windows + + + + 79856260 + bb4e1a9c3ac77300ae00138fb8fb16da79ff32c0 + build-tools_r36.1-rc1_macosx.zip + + macosx + + + + + + + 36 + 0 + 0 + + Android SDK Build-Tools 36 + + + + + + 63737259 + b0b6376977657e8ad9b969bacf4093601da2c6fb + build-tools_r36_linux.zip + + linux + + + + 58699878 + f16ccffd34de8790dede813a6c7d8e2c11a27b50 + build-tools_r36_windows.zip + + windows + + + + 79121749 + 199ae0047ee61e842f8ee0c6d3918e44fb9a1f83 + build-tools_r36_macosx.zip + + macosx + + + + + + + 36 + 0 + 0 + 5 + + Android SDK Build-Tools 36-rc5 + + + + + + 61709567 + 68e91b122664fead061c7963643de494a0dbb73e + build-tools_r36-rc5_linux.zip + + linux + + + + 58459079 + 9d1f6fbf7ff15be61a9b122a055221b5e0a0edf7 + build-tools_r36-rc5_windows.zip + + windows + + + + 78724827 + 76aab21b11691d27c7012cd2288cb31f6e02e3b9 + build-tools_r36-rc5_macosx.zip + + macosx + + + + + + + 36 + 0 + 0 + 4 + + Android SDK Build-Tools 36-rc4 + + + + + + 62785278 + 2ebea22941d2c8d661b9bf3c20193677ffd50334 + build-tools_r36-rc4_linux.zip + + linux + + + + 58085095 + 66abc0f7c3efcd82b5e418d9613e97efd16ff370 + build-tools_r36-rc4_windows.zip + + windows + + + + 78583529 + e5917875bb11fe08e69e6539bae079ddbe840586 + build-tools_r36-rc4_macosx.zip + + macosx + + + + + + + 35 + 0 + 1 + + Android SDK Build-Tools 35.0.1 + + + + + + 61959297 + e009a9b188cfeb1d2b4c318ab5cb4f1ddc368861 + build-tools_r35.0.1_linux.zip + + linux + + + + 59876477 + 1cbfa5564b62504a1111352edda35914cf723a20 + build-tools_r35.0.1_windows.zip + + windows + + + + 76857925 + f4dda6855ddf1ea1a51ee3ab6587104bd0c1d727 + build-tools_r35.0.1_macosx.zip + + macosx + + + + + + + 36 + 0 + 0 + 3 + + Android SDK Build-Tools 36-rc3 + + + + + + 62577193 + af37c3b9c58d62b885c80c5f3968106a22c37495 + build-tools_r36-rc3_linux.zip + + linux + + + + 57872335 + acac220c05062b6ea56ab4c9561a544d15223150 + build-tools_r36-rc3_windows.zip + + windows + + + + 78345346 + ae832d578f78dceca3c536479a58ca69c109dbaf + build-tools_r36-rc3_macosx.zip + + macosx + + + + + + + 36 + 0 + 0 + 1 + + Android SDK Build-Tools 36-rc1 + + + + + + 62558889 + b0a48cef38ee02e2170e6eeb769956c46b8a294b + build-tools_r36-rc1_linux.zip + + linux + + + + 57851822 + dfa48ceb8bd185891a11cd8babcc3782abca35e3 + build-tools_r36-rc1_windows.zip + + windows + + + + 78312030 + 7a1149c9a0603a831396b7f522505b4357d80744 + build-tools_r36-rc1_macosx.zip + + macosx + + + + + + + 35 + 0 + 0 + + Android SDK Build-Tools 35 + + + + + + 61958799 + 2cfaa0bbb2336e9ec18ed3ecea84fa2e2af607bc + build-tools_r35_linux.zip + + linux + + + + 59878107 + af059bb67cf7786f45ee0db85e2d24985df1b4b6 + build-tools_r35_windows.zip + + windows + + + + 76857898 + 93ab8ce91230e067b5add4bfa79919c52b27f072 + build-tools_r35_macosx.zip + + macosx + + + + + + + 35 + 0 + 0 + 4 + + Android SDK Build-Tools 35-rc4 + + + + + + 61882448 + 08049ed693a2ba9bf6b9fa0edec897abac9f85ed + build-tools_r35-rc4_linux.zip + + linux + + + + 59901374 + e08195bf5ce51105aca15f9eba758fceeb7b4b5d + build-tools_r35-rc4_windows.zip + + windows + + + + 76832786 + d9ce6ae1b0d720d7c2abd6510843c881f9d65188 + build-tools_r35-rc4_macosx.zip + + macosx + + + + + + + 35 + 0 + 0 + 3 + + Android SDK Build-Tools 35-rc3 + + + + + + 62746687 + 25a13fd75a525385d77864f5470db9c1c48b5a40 + build-tools_r35-rc3_linux.zip + + linux + + + + 59812048 + f04f402d7d92edc14502e7b94034d1a1695ac12e + build-tools_r35-rc3_windows.zip + + windows + + + + 78263822 + f0d2a565d3634d2fd7a22838eafad792e8538c0a + build-tools_r35-rc3_macosx.zip + + macosx + + + + + + + 35 + 0 + 0 + 2 + + Android SDK Build-Tools 35-rc2 + + + + + + 60633658 + c36ffb3f3238590f23c263cdd8e8c18d9ef10dc0 + build-tools_r35-rc2_linux.zip + + linux + + + + 59875696 + 9b13029b6160e32cd6ca4f9c2e3c49fa4e86996b + build-tools_r35-rc2_windows.zip + + windows + + + + 78321548 + 01630418469f2b7d4772777db2b4b40d836add34 + build-tools_r35-rc2_macosx.zip + + macosx + + + + + + + 35 + 0 + 0 + 1 + + Android SDK Build-Tools 35-rc1 + + + + + + 62860992 + 340cf69a732e880a8544f8b32dac8d9c88730b4e + build-tools_r35-rc1-linux.zip + + linux + + + + 78408675 + dcd4b6d358eccc05ef7dfdead1e029581bb5e60f + build-tools_r35-rc1-macosx.zip + + macosx + + + + 59996484 + 432068f39066d3c529be98e331e81c1f1d7c218c + build-tools_r35-rc1-windows.zip + + windows + + + + + + + 34 + 0 + 0 + + Android SDK Build-Tools 34 + + + + + + 61224257 + d6d58e0c6925a9e4d9a541e84cd1f405c2f9d2a9 + build-tools_r34-linux.zip + + linux + + + + 76559180 + 00e1301387028f33753e38274401694e1a27c62f + build-tools_r34-macosx.zip + + macosx + + + + 58253258 + 62cfde1b6fcc3ad12a4d2ba1b537e752768bfd47 + build-tools_r34-windows.zip + + windows + + + + + + + 34 + 0 + 0 + 3 + + Android SDK Build-Tools 34-rc3 + + + + + + 61165322 + 0bcb893e8b009f1da3d538be47c6ae5907884bf6 + build-tools_r34-rc3-linux.zip + + linux + + + + 76497941 + 97db9e5009971021ca18bb62043764b68f756ede + build-tools_r34-rc3-macosx.zip + + macosx + + + + 58326432 + 78fa4ca752017c3217786af16c513f44a5042433 + build-tools_r34-rc3-windows.zip + + windows + + + + + + + 34 + 0 + 0 + 2 + + Android SDK Build-Tools 34-rc2 + + + + + + 60835777 + bce35f1524d2ea5f6326809dc7accff0ee2fe370 + build-tools_r34-rc2-linux.zip + + linux + + + + 63005203 + c47d9c9d040567b1b62eefc1a6306b5acebe3a76 + build-tools_r34-rc2-macosx.zip + + macosx + + + + 58246192 + 60c51d073ac760fdec647b9fecf086d1a35f7841 + build-tools_r34-rc2-windows.zip + + windows + + + + + + + 34 + 0 + 0 + 1 + + Android SDK Build-Tools 34-rc1 + + + + + + 60468599 + fec0a16d0c2fab6576fd58f6aa2e69a561ab1128 + build-tools_r34-rc1-linux.zip + + linux + + + + 62640488 + 1e3847d449ce6124ffbf528db601f3dfab25e77e + build-tools_r34-rc1-macosx.zip + + macosx + + + + 57791540 + 73dca92f84827749882bd0ac501c4befdf3ab878 + build-tools_r34-rc1-windows.zip + + windows + + + + + + + 33 + 0 + 3 + + Android SDK Build-Tools 33.0.3 + + + + + + 56003317 + 83d08ea1cdad9733cae08e33c84758835987a508 + build-tools_r33.0.3-linux.zip + + linux + + + + 60015916 + daaeee4fb70ae54fe03bb64e414ea88a16e66ba8 + build-tools_r33.0.3-macosx.zip + + macosx + + + + 55630525 + 9d93a3b5ff0497fca16739160327ec7ef44b3eff + build-tools_r33.0.3-windows.zip + + windows + + + + + + + 33 + 0 + 2 + + Android SDK Build-Tools 33.0.2 + + + + + + 56003588 + 9def17c815f46ac09024ebb674466d39d039255c + build-tools_r33.0.2-linux.zip + + linux + + + + 60013768 + 482fd9244332cb3e7435f229a22552459b68b3ff + build-tools_r33.0.2-macosx.zip + + macosx + + + + 55630250 + 1f33813c884a039f242b386e9127d3a96915066f + build-tools_r33.0.2-windows.zip + + windows + + + + + + + 33 + 0 + 1 + + Android SDK Build-Tools 33.0.1 + + + + + + 56003178 + fefb393b82814feb94f88147827cbc918cf992b0 + build-tools_r33.0.1-linux.zip + + linux + + + + 60027237 + d091bee94295480891ca679e7b2004fe6198d05f + build-tools_r33.0.1-macosx.zip + + macosx + + + + 55631116 + 710918f38f8fa7595320f4d29db5910770993f63 + build-tools_r33.0.1-windows.zip + + windows + + + + + + + 33 + 0 + 0 + + Android SDK Build-Tools 33 + + + + + + 56000182 + c561971600d4ce682b128b0bd5d4ab71c5f2ad35 + build-tools_r33-linux.zip + + linux + + + + 60023096 + 3693851532ba9640710d2dd360d85aa5b04c5151 + build-tools_r33-macosx.zip + + macosx + + + + 55610532 + f4ef853e5e755ea5ffc50de73a9e420fc76c662e + build-tools_r33-windows.zip + + windows + + + + + + + 32 + 1 + 0 + 1 + + Android SDK Build-Tools 32.1-rc1 + + + + + + 54636210 + af2abccfe48f9109ca0bddbec023234a4a68446b + 21014bc1a76d38d0dcb79b3b3f49f40ea5a53c10.build-tools_r32.1-rc1-windows.zip + + windows + + + + 57403070 + 4af23395f3a7cb4a5c01623347622f881a4772fd + build-tools_r32.1-rc1-linux.zip + + linux + + + + 59462877 + 38c166a60de3cb799ff1ad5b855234579d05e7b6 + c165e9b235479731f416c7aea22d065819c7ce23.build-tools_r32.1-rc1-macosx.zip + + macosx + + + + + + + 32 + 0 + 0 + + Android SDK Build-Tools 32 + + + + + + 56720035 + 2134fdd4a00b3501b87597d100182e169eaa8c6a + 210b77e4bc623bd4cdda4dae790048f227972bd2.build-tools_r32-windows.zip + + windows + + + + 52875135 + 27b56ee9a313f0f34f009dea343f3887d3f72b17 + 5219cc671e844de73762e969ace287c29d2e14cd.build-tools_r32-macosx.zip + + macosx + + + + 54940436 + c7f2c700aafd9f7a2da187d80901481b80156719 + build-tools_r32-linux.zip + + linux + + + + + + + 31 + 0 + 0 + + Android SDK Build-Tools 31 + + + + + + 56688233 + 032da328482814e6ef7fe918665c07e8f8f806ca + 09489e417c0a266f2862ddd82b4ac29a1b7af55e.build-tools_r31-windows.zip + + windows + + + + 54931191 + 9dbebfdb9ff4c0dbc4ef00677986bf571ddcf99c + build-tools_r31-linux.zip + + linux + + + + 52867497 + c9b4215affd183974b1b2d1c5745911203f56de5 + d32e21a8aa8492ef8b86a489f601da425842b5da.build-tools_r31-macosx.zip + + macosx + + + + + + + 30 + 0 + 3 + + Android SDK Build-Tools 30.0.3 + + + + + + 54254759 + fc165c721b8d2da55e6fede467526c81f562be7b + 91936d4ee3ccc839f0addd53c9ebf087b1e39251.build-tools_r30.0.3-windows.zip + + windows + + + + 53134793 + 2076ea81b5a2fc298ef7bf85d666f496b928c7f1 + build-tools_r30.0.3-linux.zip + + linux + + + + 51698282 + 0807cd3f0dbc33c8be7f3d6faa263f6b14b502b7 + f6d24b187cc6bd534c6c37604205171784ac5621.build-tools_r30.0.3-macosx.zip + + macosx + + + + + + + 30 + 0 + 2 + + Android SDK Build-Tools 30.0.2 + + + + + + 51227855 + 6b0166d1f4b0b3d496c0dde660145dfa7898095f + 5a6ceea22103d8dec989aefcef309949c0c42f1d.build-tools_r30.0.2-macosx.zip + + macosx + + + + 52664453 + 363632ff8f7a198bf9fa94e3b9e0db6927bf373d + build-tools_r30.0.2-linux.zip + + linux + + + + 53783318 + b42b77e02b82f242432cd7ffff5cbb92f6888ca7 + efbaa277338195608aa4e3dbd43927e97f60218c.build-tools_r30.0.2-windows.zip + + windows + + + + + + + 30 + 0 + 1 + + Android SDK Build-Tools 30.0.1 + + + + + + 52664463 + dae27b63a53f3c71a23a2e9517d435f79ce7975b + build-tools_r30.0.1-linux.zip + + linux + + + + 51227882 + b62ccd6d6468a374b7c8e641c3751bc929a89397 + build-tools_r30.0.1-macosx.zip + + macosx + + + + 53783332 + 76197fec228ca9b69086d6dd8a16e4589982bdc6 + build-tools_r30.0.1-windows.zip + + windows + + + + + + + 30 + 0 + 0 + + Android SDK Build-Tools 30 + + + + + + 68819159 + 5bdda303b7aba4073dd2aeb8003b6b0b57098021 + build-tools_r30-linux.zip + + linux + + + + 67373109 + 80b06ce5fa4af2ed14db343a8131af658dda79a8 + build-tools_r30-macosx.zip + + macosx + + + + 70027538 + 5276f337e4eb4d8e5fb82f846045610f8b8e3650 + build-tools_r30-windows.zip + + windows + + + + + + + 29 + 0 + 3 + + Android SDK Build-Tools 29.0.3 + + + + + + 53797376 + 64efff52165cda5e31848acafa46a05e3f3b4651 + build-tools_r29.0.3-linux.zip + + linux + + + + 52432183 + 76520eb7712fb0bb4c023b55c6f65588ee268289 + build-tools_r29.0.3-macosx.zip + + macosx + + + + 55201638 + 813f8c35f016cef83e5b2b742229a3634d4658d3 + build-tools_r29.0.3-windows.zip + + windows + + + + + + + 29 + 0 + 2 + + Android SDK Build-Tools 29.0.2 + + + + + + 41678888 + c0fc7e5c37ac96bfd0c611802e8ab36d0e71b398 + build-tools_r29.0.2-linux.zip + + linux + + + + 40848529 + f781d9e03d5c2debcf51fed3792ee7a9d066723f + build-tools_r29.0.2-macosx.zip + + macosx + + + + 40159970 + 595dc1730c844d892516d5f0e7894e992d19f63d + build-tools_r29.0.2-windows.zip + + windows + + + + + + + 29 + 0 + 1 + + Android SDK Build-Tools 29.0.1 + + + + + + 41682816 + fc209e5d91ab2daeac24345a5cb17261940547e4 + build-tools_r29.0.1-linux.zip + + linux + + + + 40852521 + 46ae9b1d1e2a67241d7da9c2cd8eae42f24cc6cd + build-tools_r29.0.1-macosx.zip + + macosx + + + + 40163897 + 1c44e10d5f74e58c3e05bfc6f1631a59616059bc + build-tools_r29.0.1-windows.zip + + windows + + + + + + + 29 + 0 + 0 + + Android SDK Build-Tools 29 + + + + + + 58650449 + ad314caf1802209c4b00a5f3517af5ceb0d48eae + build-tools_r29-linux.zip + + linux + + + + 57820193 + 35dc6bc7a53bd9d206847e72f02cab21cfdaa869 + build-tools_r29-macosx.zip + + macosx + + + + 57098799 + 1799f7f975416098e5a5bf280eb97c8f77cf7f79 + build-tools_r29-windows.zip + + windows + + + + + + + 29 + 0 + 0 + 3 + + Android SDK Build-Tools 29-rc3 + + + + + + 58639871 + 8b7177f198e8b92da8f9537aaf859f6edf222b01 + build-tools_r29-rc3-linux.zip + + linux + + + + 57810162 + 643e8d76625f6e2cfcd5494e50bae5e14725ec0c + build-tools_r29-rc3-macosx.zip + + macosx + + + + 57092256 + 6abce2ebfecf3580afd3129520999f95691a03df + build-tools_r29-rc3-windows.zip + + windows + + + + + + + 29 + 0 + 0 + 2 + + Android SDK Build-Tools 29-rc2 + + + + + + 58602830 + b4b41d429c35b42db07b6c65d4aa998ba8c4093c + build-tools_r29-rc2-linux.zip + + linux + + + + 57785717 + 7a960367999169ccac5dbc60817e5f1725c4c738 + build-tools_r29-rc2-macosx.zip + + macosx + + + + 57000706 + 2de2a3e290cae4ce35e82c8a5abed49b1cdd24e3 + build-tools_r29-rc2-windows.zip + + windows + + + + + + + 29 + 0 + 0 + 1 + + Android SDK Build-Tools 29-rc1 + + + + + + 58516671 + 1c897f5885ac5468613e40e1ea598c21c05d345d + build-tools_r29-rc1-linux.zip + + linux + + + + 57704927 + f066c0d9ea2f0d8a0a9cc7b2ca0a467a570ab034 + build-tools_r29-rc1-macosx.zip + + macosx + + + + 56933956 + 8887ee791a143f92694a0908130354142a903b17 + build-tools_r29-rc1-windows.zip + + windows + + + + + + + 28 + 0 + 3 + + Android SDK Build-Tools 28.0.3 + + + + + + 57830695 + ea6f2f7103cd9da9ff0bdf6e37fbbba548fa4165 + build-tools_r28.0.3-linux.zip + + linux + + + + 57133581 + f8c333a2991b1ab05a671bc6248b78e00edcd83a + build-tools_r28.0.3-macosx.zip + + macosx + + + + 58393729 + 05bd35bb48d11c848da2b393c6f864eb609aacba + build-tools_r28.0.3-windows.zip + + windows + + + + + + + 28 + 0 + 2 + + Android SDK Build-Tools 28.0.2 + + + + + + 57754663 + b4492209810a3fd48deaa982f9852fef12433d55 + build-tools_r28.0.2-linux.zip + + linux + + + + 57057554 + c10dd5a7825578622fb362a8a34f76eb3ba0c0a9 + build-tools_r28.0.2-macosx.zip + + macosx + + + + 58317692 + e9c570c568a0c2a32e88ee3204279019ebefd949 + build-tools_r28.0.2-windows.zip + + windows + + + + + + + 28 + 0 + 1 + + Android SDK Build-Tools 28.0.1 + + + + + + 57610954 + ee70dfa1fccb58b37cebc9544830511f36a137a0 + build-tools_r28.0.1-linux.zip + + linux + + + + 56913869 + aeef42ad953f1630dd6f5d71eefdc0b825211462 + build-tools_r28.0.1-macosx.zip + + macosx + + + + 58173989 + 29c6342835734be25b9e458ab3fad5750ad6a355 + build-tools_r28.0.1-windows.zip + + windows + + + + + + + 28 + 0 + 0 + + Android SDK Build-Tools 28 + + + + + + 37157769 + d9f8a754d833ccd334f56fcc6089c5925cd82abb + build-tools_r28-linux.zip + + linux + + + + 36458977 + 72088d32d1d82cc3c2cf7cf6618b6130c0c84ade + build-tools_r28-macosx.zip + + macosx + + + + 37718995 + d4b0638a877ed570e07876264e69fdbd86409610 + build-tools_r28-windows.zip + + windows + + + + + + + 28 + 0 + 0 + 2 + + Android SDK Build-Tools 28-rc2 + + + + + + 37151124 + efe9c0dde0646a07544c864276390ca6e96b24dc + build-tools_r28-rc2-linux.zip + + linux + + + + 36449480 + 0d0314b353589feb10e528b44c5a685b6658d797 + build-tools_r28-rc2-macosx.zip + + macosx + + + + 37716459 + a94bfb52b4ec74b95c116236c3e382e923cad6c4 + build-tools_r28-rc2-windows.zip + + windows + + + + + + + 28 + 0 + 0 + 1 + + Android SDK Build-Tools 28-rc1 + + + + + + 38703535 + 1601977fae25fd478bcfaa0481ca5ea3c609d840 + build-tools_r28-rc1-linux.zip + + linux + + + + 38004795 + 2c77821967a2330b7b227072d0b1c02ef19fe2fc + build-tools_r28-rc1-macosx.zip + + macosx + + + + 39273232 + fbf46c33d1268f6532911707b2a05033fd5c5b41 + build-tools_r28-rc1-windows.zip + + windows + + + + + + + 27 + 0 + 3 + + Android SDK Build-Tools 27.0.3 + + + + + + 54478554 + d85e7a6320eddffe7eeace3437605079dac938ca + build-tools_r27.0.3-linux.zip + + linux + + + + 53867966 + 61d9fb18790c68d66ff73bf1e7ad56bc1f1eef2d + build-tools_r27.0.3-macosx.zip + + macosx + + + + 55194255 + 0df61e11713a2838d2cc9a911219dddf5e6a2749 + build-tools_r27.0.3-windows.zip + + windows + + + + + + + 27 + 0 + 2 + + Android SDK Build-Tools 27.0.2 + + + + + + 54458153 + b687ddf6be84f11607871138aad32cf857d0b837 + build-tools_r27.0.2-linux.zip + + linux + + + + 53846615 + 6d5d9cf2a47877f273f4b742b19e712a051a31be + build-tools_r27.0.2-macosx.zip + + macosx + + + + 55173070 + b80466c13b75e3ebf3c546964f40775db5898b2a + build-tools_r27.0.2-windows.zip + + windows + + + + + + + 27 + 0 + 1 + + Android SDK Build-Tools 27.0.1 + + + + + + 54450260 + 7f4eedb1077ef948b848040dcd15de9e8a759f4a + build-tools_r27.0.1-linux.zip + + linux + + + + 53838762 + 1edd07bfdbadd95652d093040e16d858f7489594 + build-tools_r27.0.1-macosx.zip + + macosx + + + + 55171114 + 18109db020c6d088d0157d1df201d31bc6970875 + build-tools_r27.0.1-windows.zip + + windows + + + + + + + 27 + 0 + 0 + + Android SDK Build-Tools 27 + + + + + + 54441725 + 28542332ba97cf4a08c3eddfcf5edd70e3cf1260 + build-tools_r27-linux.zip + + linux + + + + 53831513 + fb4e8d7e6b8d29a77090e34024077a80458d5ae1 + build-tools_r27-macosx.zip + + macosx + + + + 55163097 + 4f1df22a6d99261d2160d624b81445da0a027dbe + build-tools_r27-windows.zip + + windows + + + + + + + 26 + 0 + 3 + + Android SDK Build-Tools 26.0.3 + + + + + + 54449983 + 8a2e6c1bcd845844523a68aa17e5442f0dce328c + build-tools_r26.0.3-linux.zip + + linux + + + + 53839758 + 5bb90ed935d99e5bc90686f43b852e68c5ad40df + build-tools_r26.0.3-macosx.zip + + macosx + + + + 55170919 + 460e511a9616b4661cc8dba0102d9d990ae60160 + build-tools_r26.0.3-windows.zip + + windows + + + + + + + 26 + 0 + 2 + + Android SDK Build-Tools 26.0.2 + + + + + + 54440678 + 5b2b7b66c7bf2151f2af183b5b50a17808850592 + build-tools_r26.0.2-linux.zip + + linux + + + + 53830573 + d9ed7c7f149ce38be5dc08979aea8acec1459ca0 + build-tools_r26.0.2-macosx.zip + + macosx + + + + 55161474 + 39ca02d3faa49859cd9d1bc0adc2f331017b699b + build-tools_r26.0.2-windows.zip + + windows + + + + + + + 26 + 0 + 1 + + Android SDK Build-Tools 26.0.1 + + + + + + 54113329 + 5378c2c78091b414d0eac40a6bd37f2faa31a365 + build-tools_r26.0.1-linux.zip + + linux + + + + 53266653 + cbde59de198916b390777dd0227921bfa2120832 + build-tools_r26.0.1-macosx.zip + + macosx + + + + 54936185 + 02494c80ffbe65bfff0aaa7463c9692693327b7d + build-tools_r26.0.1-windows.zip + + windows + + + + + + + 26 + 0 + 0 + + Android SDK Build-Tools 26 + + + + + + 53854197 + 1cbe72929876f8a872ab1f1b1040a9f720261f59 + build-tools_r26-linux.zip + + linux + + + + 53010814 + d01a1aeca03747245f1f5936b3cb01759c66d086 + build-tools_r26-macosx.zip + + macosx + + + + 54681641 + 896ebd31117c09db220f7a3116cc0e5121c78b9d + build-tools_r26-windows.zip + + windows + + + + + + + 25 + 0 + 3 + + Android SDK Build-Tools 25.0.3 + + + + + + 50757258 + db95f3a0ae376534d4d69f4cdb6fad20649f3509 + build-tools_r25.0.3-linux.zip + + linux + + + + 50545085 + 160d2fefb5ce68e443427fc30a793a703b63e26e + build-tools_r25.0.3-macosx.zip + + macosx + + + + 51337442 + 1edcb109ae5133aebfed573cf0bc84e0c353c28d + build-tools_r25.0.3-windows.zip + + windows + + + + + + + 25 + 0 + 2 + + Android SDK Build-Tools 25.0.2 + + + + + + 49880329 + ff953c0177e317618fda40516f3e9d95fd43c7ae + build-tools_r25.0.2-linux.zip + + linux + + + + 49667185 + 12a5204bb3b6e39437535469fde7ddf42da46b16 + build-tools_r25.0.2-macosx.zip + + macosx + + + + 50458908 + 2fee3c0704d6ecc480570450d8b8069b2c4a2dd4 + build-tools_r25.0.2-windows.zip + + windows + + + + + + + 25 + 0 + 1 + + Android SDK Build-Tools 25.0.1 + + + + + + 49880178 + ff063d252ab750d339f5947d06ff782836f22bac + build-tools_r25.0.1-linux.zip + + linux + + + + 49667353 + 7bf7f22d7d48ef20b6ab0e3d7a2912e5c088340f + build-tools_r25.0.1-macosx.zip + + macosx + + + + 50458759 + c6c61393565ccf46349e7f44511e5db7c1c6169d + build-tools_r25.0.1-windows.zip + + windows + + + + + + + 25 + 0 + 0 + + Android SDK Build-Tools 25 + + + + + + 49872921 + f2bbda60403e75cabd0f238598c3b4dfca56ea44 + build-tools_r25-linux.zip + + linux + + + + 49659466 + 273c5c29a65cbed00e44f3aa470bbd7dce556606 + build-tools_r25-macosx.zip + + macosx + + + + 50451378 + f9258f2308ff8b62cfc4513d40cb961612d07b6a + build-tools_r25-windows.zip + + windows + + + + + + + 24 + 0 + 3 + + Android SDK Build-Tools 24.0.3 + + + + + + 49779151 + 9e8cc49d66e03fa1a8ecc1ac3e58f1324f5da304 + build-tools_r24.0.3-linux.zip + + linux + + + + 49568967 + a01c15f1b105c34595681075e1895d58b3fff48c + build-tools_r24.0.3-macosx.zip + + macosx + + + + 50354788 + 8b960d693fd4163caeb8dc5f5f5f80b10987089c + build-tools_r24.0.3-windows.zip + + windows + + + + + + + 24 + 0 + 2 + + Android SDK Build-Tools 24.0.2 + + + + + + 48936295 + f199a7a788c3fefbed102eea34d6007737b803cf + build-tools_r24.0.2-linux.zip + + linux + + + + 48726190 + 8bb8fc575477491d5957de743089df412de55cda + build-tools_r24.0.2-macosx.zip + + macosx + + + + 49512513 + 09586a1f1c39bcfa7db5205c9a07837247deb67e + build-tools_r24.0.2-windows.zip + + windows + + + + + + + 24 + 0 + 1 + + Android SDK Build-Tools 24.0.1 + + + + + + 48936286 + 84f18c392919a074fcbb9b1d967984e6b2fef8b4 + build-tools_r24.0.1-linux.zip + + linux + + + + 48726085 + 5c6457fcdfa07724fb086d8ff4e8316fc0742848 + build-tools_r24.0.1-macosx.zip + + macosx + + + + 49511883 + ac4a7cea42c3ef74d7fbf1b992fad311c550034e + build-tools_r24.0.1-windows.zip + + windows + + + + + + + 24 + 0 + 0 + + Android SDK Build-Tools 24 + + + + + + 48960919 + c6271c4d78a5612ea6c7150688bcd5b7313de8d1 + build-tools_r24-linux.zip + + linux + + + + 48747930 + 97fc4ed442f23989cc488d02c1d1de9bdde241de + build-tools_r24-macosx.zip + + macosx + + + + 49535326 + dc61b9e5b451a0c3ec42ae2b1ce27c4d3c8da9f7 + build-tools_r24-windows.zip + + windows + + + + + + + 23 + 0 + 2 + + Android SDK Build-Tools 23.0.2 + + + + + + 39071201 + 8a9f2b37f6fcf7a9fa784dc21aeaeb41bbb9f2c3 + build-tools_r23.0.2-linux.zip + + linux + + + + 38060914 + 482c4cbceef8ff58aefd92d8155a38610158fdaf + build-tools_r23.0.2-macosx.zip + + macosx + + + + 38217626 + fc3a92c744d3ba0a16ccb5d2b41eea5974ce0a96 + build-tools_r23.0.2-windows.zip + + windows + + + + + + + 23 + 0 + 3 + + Android SDK Build-Tools 23.0.3 + + + + + + 40733174 + 368f2600feac7e9b511b82f53d1f2240ae4a91a3 + build-tools_r23.0.3-linux.zip + + linux + + + + 39679533 + fbc98cd303fd15a31d472de6c03bd707829f00b0 + build-tools_r23.0.3-macosx.zip + + macosx + + + + 39869945 + c6d8266c6a3243c8f1e41b786c0e3cee4c781263 + build-tools_r23.0.3-windows.zip + + windows + + + + + + + 23 + 0 + 1 + + Android SDK Build-Tools 23.0.1 + + + + + + 39069295 + b6ba7c399d5fa487d95289d8832e4ad943aed556 + build-tools_r23.0.1-linux.zip + + linux + + + + 38059328 + d96ec1522721e9a179ae2c591c99f75d31d39718 + build-tools_r23.0.1-macosx.zip + + macosx + + + + 38558889 + cc1d37231d228f7a6f130e1f8d8c940052f0f8ab + build-tools_r23.0.1-windows.zip + + windows + + + + + + + 23 + 0 + 0 + + Android SDK Build-Tools 23 + + + + + + 39080519 + c1d6209212b01469f80fa804e0c1d39a06bc9060 + build-tools_r23-linux.zip + + linux + + + + 38070540 + 90ba6e716f7703a236cd44b2e71c5ff430855a03 + build-tools_r23-macosx.zip + + macosx + + + + 38570715 + 3874948f35f2f8946597679cc6e9151449f23b5d + build-tools_r23-windows.zip + + windows + + + + + + + 22 + 0 + 1 + + Android SDK Build-Tools 22.0.1 + + + + + + 33104577 + da8b9c5c3ede39298e6cf0283c000c2ee9029646 + build-tools_r22.0.1-linux.zip + + linux + + + + 33646102 + 53dad7f608e01d53b17176ba11165acbfccc5bbf + build-tools_r22.0.1-macosx.zip + + macosx + + + + 33254137 + 61d8cbe069d9e0a57872a83e5e5abe164b7d52cf + build-tools_r22.0.1-windows.zip + + windows + + + + + + + 22 + 0 + 0 + + Android SDK Build-Tools 22 + + + + + + 33104280 + a8a1619dd090e44fac957bce6842e62abf87965b + build-tools_r22-linux.zip + + linux + + + + 33646090 + af95429b24088d704bc5db9bd606e34ac1b82c0d + build-tools_r22-macosx.zip + + macosx + + + + 33254114 + 08fcca41e81b172bd9f570963b90d3a84929e043 + build-tools_r22-windows.zip + + windows + + + + + + + 21 + 1 + 2 + + Android SDK Build-Tools 21.1.2 + + + + + + 32637678 + 5e35259843bf2926113a38368b08458735479658 + build-tools_r21.1.2-linux.zip + + linux + + + + 33152878 + e7c906b4ba0eea93b32ba36c610dbd6b204bff48 + build-tools_r21.1.2-macosx.zip + + macosx + + + + 32792587 + 1d944759c47f60e634d2b8a1f3a4259be2f8d652 + build-tools_r21.1.2-windows.zip + + windows + + + + + + + 21 + 1 + 1 + + Android SDK Build-Tools 21.1.1 + + + + + + 32642454 + 1c712ee3a1ba5a8b0548f9c32f17d4a0ddfd727d + build-tools_r21.1.1-linux.zip + + linux + + + + 33157676 + 836a146eab0504aa9387a5132e986fe7c7381571 + build-tools_r21.1.1-macosx.zip + + macosx + + + + 32797356 + 53fc4201237f899d5cd92f0b76ad41fb89da188b + build-tools_r21.1.1-windows.zip + + windows + + + + + + + 21 + 1 + 0 + + Android SDK Build-Tools 21.1 + + + + + + 32642820 + b7455e543784d52a8925f960bc880493ed1478cb + build-tools_r21.1-linux.zip + + linux + + + + 33158159 + df619356c2359aa5eacdd48699d15b335d9bd246 + build-tools_r21.1-macosx.zip + + macosx + + + + 32797810 + c79d63ac6b713a1e326ad4dae43f2ee76708a2f4 + build-tools_r21.1-windows.zip + + windows + + + + + + + 21 + 0 + 2 + + Android SDK Build-Tools 21.0.2 + + + + + + 22153122 + e1236ab8897b62b57414adcf04c132567b2612a5 + build-tools_r21.0.2-linux.zip + + linux + + + + 22668597 + f17471c154058f3734729ef3cc363399b1cd3de1 + build-tools_r21.0.2-macosx.zip + + macosx + + + + 22306371 + 37496141b23cbe633167927b7abe6e22d9f1a1c1 + build-tools_r21.0.2-windows.zip + + windows + + + + + + + 21 + 0 + 1 + + Android SDK Build-Tools 21.0.1 + + + + + + 22153013 + e573069eea3e5255e7a65bedeb767f4fd0a5f49a + build-tools_r21.0.1-linux.zip + + linux + + + + 22668616 + b60c8f9b810c980abafa04896706f3911be1ade7 + build-tools_r21.0.1-macosx.zip + + macosx + + + + 22306243 + d68e7e6fd7a48c8759aa41d713c9d4f0e4c1c1df + build-tools_r21.0.1-windows.zip + + windows + + + + + + + 21 + 0 + 0 + + Android SDK Build-Tools 21 + + + + + + 22153145 + 4933328fdeecbd554a29528f254f4993468e1cf4 + build-tools_r21-linux.zip + + linux + + + + 22668456 + 9bef7989b51436bd4e5114d8a0330359f077cbfa + build-tools_r21-macosx.zip + + macosx + + + + 22306371 + 5bc8fd399bc0135a9bc91eec78ddc5af4f54bf32 + build-tools_r21-windows.zip + + windows + + + + + + + 20 + 0 + 0 + + Android SDK Build-Tools 20 + + + + + + 21445463 + b688905526a5584d1327a662d871a635ff502758 + build-tools_r20-linux.zip + + linux + + + + 21650508 + 1240f629411c108a714c4ddd756937c7fab93f83 + build-tools_r20-macosx.zip + + macosx + + + + 20828006 + cf20720e452b642d5eb59dabe05c0c729b36ec75 + build-tools_r20-windows.zip + + windows + + + + + + + 19 + 1 + 0 + + Android SDK Build-Tools 19.1 + + + + + + 21490972 + 1ff20ac15fa47a75d00346ec12f180d531b3ca89 + build-tools_r19.1-linux.zip + + linux + + + + 21590160 + 0d11aae3417de1efb4b9a0e0a7855904a61bcec1 + build-tools_r19.1-macosx.zip + + macosx + + + + 20812533 + 13b367fbdbff8132cb4356f716e8dc8a8df745c5 + build-tools_r19.1-windows.zip + + windows + + + + + + + 19 + 0 + 3 + + Android SDK Build-Tools 19.0.3 + + + + + + 21462150 + c2d6055478e9d2d4fba476ee85f99181ddd1160c + build-tools_r19.0.3-linux.zip + + linux + + + + 21563992 + 651cf8754373b2d52e7f6aab2c52eabffe4e9ea4 + build-tools_r19.0.3-macosx.zip + + macosx + + + + 20730715 + cb46b433b67a0a6910ff00db84be8b527ea3102f + build-tools_r19.0.3-windows.zip + + windows + + + + + + + 19 + 0 + 2 + + Android SDK Build-Tools 19.0.2 + + + + + + 21352552 + a03a6bdea0091aea32e1b35b90a7294c9f04e3dd + build-tools_r19.0.2-linux.zip + + linux + + + + 21453726 + 145bc43065d45f756d99d87329d899052b9a9288 + build-tools_r19.0.2-macosx.zip + + macosx + + + + 20621117 + af664672d0d709c9ae30937b1062317d3ade7f95 + build-tools_r19.0.2-windows.zip + + windows + + + + + + + 19 + 0 + 1 + + Android SDK Build-Tools 19.0.1 + + + + + + 21229048 + 18d2312dc4368858914213087f4e61445aca4517 + build-tools_r19.0.1-linux.zip + + linux + + + + 21450597 + efaf50fb19a3edb8d03efbff76f89a249ad2920b + build-tools_r19.0.1-macosx.zip + + macosx + + + + 20500648 + 5ef422bac5b28f4ced108319ed4a6bc7050a6234 + build-tools_r19.0.1-windows.zip + + windows + + + + + + + 19 + 0 + 0 + + Android SDK Build-Tools 19 + + + + + + 21339943 + 55c1a6cf632e7d346f0002b275ec41fd3137fd83 + build-tools_r19-linux.zip + + linux + + + + 21441270 + 86ec1c12db1bc446b7bcaefc5cc14eb361044e90 + build-tools_r19-macosx.zip + + macosx + + + + 20611447 + 6edf505c20f5ece9c48fa0aff9a90488f9654d52 + build-tools_r19-windows.zip + + windows + + + + + + + 18 + 1 + 1 + + Android SDK Build-Tools 18.1.1 + + + + + + 20229760 + 68c9acbfc0cec2d51b19efaed39831a17055d998 + build-tools_r18.1.1-linux.zip + + linux + + + + 20452157 + a9d9d37f6ddf859e57abc78802a77aaa166e48d4 + build-tools_r18.1.1-macosx.zip + + macosx + + + + 19660000 + c4605066e2f851387ea70bc1442b1968bd7b4a15 + build-tools_r18.1.1-windows.zip + + windows + + + + + + + 18 + 1 + 0 + + Android SDK Build-Tools 18.1 + + + + + + 20229298 + f314a0599e51397f0886fe888b50dd98f2f050d8 + build-tools_r18.1-linux.zip + + linux + + + + 20451524 + 16ddb299b8b43063e5bb3387ec17147c5053dfd8 + build-tools_r18.1-macosx.zip + + macosx + + + + 19659547 + 3a9810fc8559ab03c09378f07531e8cae2f1db30 + build-tools_r18.1-windows.zip + + windows + + + + + + + 18 + 0 + 1 + + Android SDK Build-Tools 18.0.1 + + + + + + 16627330 + f11618492b0d2270c332325d45d752d3656a9640 + build-tools_r18.0.1-linux.zip + + linux + + + + 16633121 + d84f5692fb44d60fc53e5b2507cebf9f24626902 + build-tools_r18.0.1-macosx.zip + + macosx + + + + 15413527 + a6c2afd0b6289d589351956d2f5212b37014ca7d + build-tools_r18.0.1-windows.zip + + windows + + + + + + + 17 + 0 + 0 + + Android SDK Build-Tools 17 + + + + + + 11696007 + 2c2872bc3806aabf16a12e3959c2183ddc866e6d + build-tools_r17-linux.zip + + linux + + + + 12208114 + 602ee709be9dbb8f179b1e4075148a57f9419930 + build-tools_r17-macosx.zip + + macosx + + + + 11004914 + 899897d327b0bad492d3a40d3db4d96119c15bc0 + build-tools_r17-windows.zip + + windows + + + + + + + 23 + 0 + + Android SDK Command-line Tools + + + + + + 181052239 + e025545c62a8e64c7559119566a569fb1dec5f60 + commandlinetools-linux-16111833_latest.zip + + linux + + + + 155582504 + 112cf9618794a997ff273537d55bee02c22abffe + commandlinetools-mac_x86_64-16111833_latest.zip + + macosx + x64 + + + + 155384151 + ad03dc49bfacfd52c110b14104ea548b8a07e830 + commandlinetools-mac_arm64-16111833_latest.zip + + macosx + aarch64 + + + + 154957218 + 57d04f2d75eb8e8fffc5000a987e5de4b5a63e9d + commandlinetools-win-16111833_latest.zip + + windows + + + + + + + 22 + 0 + + Android SDK Command-line Tools + + + + + + 181833628 + 040d3996a65543d22ec4bf73e4c37aa37a8d4af4 + commandlinetools-linux-15859902_latest.zip + + linux + + + + 156281494 + 1a79e61677b99cb0ce622792713cbea7ff2dc5de + commandlinetools-mac_x86_64-15859902_latest.zip + + macosx + x64 + + + + 156083281 + c4e0dbc53f1a4ce04fc2b11d4e2c4675001a95af + commandlinetools-mac_arm64-15859902_latest.zip + + macosx + aarch64 + + + + 155655386 + b9862337a13e2809a5159dc3a08d058091bd59f6 + commandlinetools-win-15859902_latest.zip + + windows + + + + + + + 21 + 0 + + Android SDK Command-line Tools + + + + + + 174244366 + 63523a02a975a81102238566f2a16c057d52301e + commandlinetools-linux-15641748_latest.zip + + linux + + + + 152127646 + b62a5d8cf63ded173b47be867be4ee058ceda6df + commandlinetools-mac-15641748_latest.zip + + macosx + + + + 151965705 + 2bea1388b8a248040a340a08ca0638138633f687 + commandlinetools-win-15641748_latest.zip + + windows + + + + + + + 20 + 0 + + Android SDK Command-line Tools + + + + + + 172789259 + 48833c34b761c10cb20bcd16582129395d121b27 + commandlinetools-linux-14742923_latest.zip + + linux + + + + 150703968 + cc27cca4b84bfdbc7df17e3d0a01d0c640d8ee71 + commandlinetools-mac-14742923_latest.zip + + macosx + + + + 150532528 + 16b3f45ddb3d85ea6bbe6a1c0b47146daf0db450 + commandlinetools-win-14742923_latest.zip + + windows + + + + + + + 19 + 0 + + Android SDK Command-line Tools + + + + + + 164760899 + 5fdcc763663eefb86a5b8879697aa6088b041e70 + commandlinetools-linux-13114758_latest.zip + + linux + + + + 143250852 + c3e06a1959762e89167d1cbaa988605f6f7c1d24 + commandlinetools-mac-13114758_latest.zip + + macosx + + + + 143040480 + 54a582f3bf73e04253602f2d1c80bd5868aac115 + commandlinetools-win-13114758_latest.zip + + windows + + + + + + + 19 + 0 + 01 + + Android SDK Command-line Tools + + + + + + 164759933 + f25edbe00eccf74e940abb8d9872b7120c3942a3 + commandlinetools-linux-12996373_latest.zip + + linux + + + + 143250486 + de2df8ad8705f3be6de366c953e4cb3e3a0b9f6c + commandlinetools-mac-12996373_latest.zip + + macosx + + + + 143039915 + 26805d62669b20af583074f67926e31600e43185 + commandlinetools-win-12996373_latest.zip + + windows + + + + + + + 17 + 0 + + Android SDK Command-line Tools + + + + + + 163426701 + da3424ea38b72d85258174a76aa286b7d4e0b700 + commandlinetools-linux-12700392_latest.zip + + linux + + + + 142285185 + 625e146cf61d6b4fbdfdd9ad34105af23b0486c2 + commandlinetools-mac-12700392_latest.zip + + macosx + + + + 141848100 + 4a0902fb473afb7ce90a0ff6181d997138a15d9c + commandlinetools-win-12700392_latest.zip + + windows + + + + + + + 16 + 0 + + Android SDK Command-line Tools + + + + + + 165618711 + 47e61d3bb57b5e907a74f225a767a767a8b4d7a5 + commandlinetools-linux-12266719_latest.zip + + linux + + + + 143967391 + b2fb3e403104bf342be7abf0631c23e30559d222 + commandlinetools-mac-12266719_latest.zip + + macosx + + + + 143481958 + 32787c10f55911fd109848906b1275723e79f659 + commandlinetools-win-12266719_latest.zip + + windows + + + + + + + 16 + 0 + 01 + + Android SDK Command-line Tools + + + + + + 165618743 + 818d632f1d727edaecd4ff94aa5f86b5a8a129a6 + commandlinetools-linux-12172612_latest.zip + + linux + + + + 143967294 + 8c7e4cc8fa9b2594ab8b56343bf56618ebdf04b9 + commandlinetools-mac-12172612_latest.zip + + macosx + + + + 143481957 + b2ae4d96dca0f10358a041adc9b79eedf399779b + commandlinetools-win-12172612_latest.zip + + windows + + + + + + + 13 + 0 + + Android SDK Command-line Tools + + + + + + 157033049 + 2e1a11866ce7146dee1456152ff64d6c8158b2c0 + commandlinetools-linux-11479570_latest.zip + + linux + + + + 136810605 + 4fe82efec2b7c33f373988f86d353d733698a0a3 + commandlinetools-mac-11479570_latest.zip + + macosx + + + + 136324801 + 938b82035c25633e822bd4e048033a6b7816d3a8 + commandlinetools-win-11479570_latest.zip + + windows + + + + + + + 14 + 0 + 01 + + Android SDK Command-line Tools + + + + + + 160503024 + 46a5d7efd0db68c737c9f7f3a79aa915363f8ced + commandlinetools-linux-11391160_latest.zip + + linux + + + + 160503004 + 2b9006f2755f97f27473a079f973252f012a8301 + commandlinetools-mac-11391160_latest.zip + + macosx + + + + 160472813 + 1e7c4acead6a4aabd9b753ffd98e116d59f7547e + commandlinetools-win-11391160_latest.zip + + windows + + + + + + + 13 + 0 + 01 + + Android SDK Command-line Tools + + + + + + 157028144 + 8d8f5c9ccc8746afed262b39c419be3d4e856124 + commandlinetools-linux-11379558_latest.zip + + linux + + + + 157028128 + c7f71dd662115aa2d370508f190e2df6e83884cc + commandlinetools-mac-11379558_latest.zip + + macosx + + + + 157003999 + 87247876f2c9a7dcf8885e6feb1e5481adccd0e5 + commandlinetools-win-11379558_latest.zip + + windows + + + + + + + 12 + 0 + + Android SDK Command-line Tools + + + + + + 153607504 + d313adb7aedccf6cf0cfca51ec180f0059f5f8f8 + commandlinetools-linux-11076708_latest.zip + + linux + + + + 153607488 + 37fb7dd41005b3b4ca6ea48ac27074b6fc4e3236 + commandlinetools-mac-11076708_latest.zip + + macosx + + + + 153583359 + 3d2917302740f476999a091bc5558837c7a863c5 + commandlinetools-win-11076708_latest.zip + + windows + + + + + + + 11 + 0 + + Android SDK Command-line Tools + + + + + + 148832188 + 87b485c7283cba69e41c10f05bf832d2fd691552 + commandlinetools-linux-10406996_latest.zip + + linux + + + + 148832172 + 4b831e6a978ce9170fc49a8010e2ece4be790c73 + commandlinetools-mac-10406996_latest.zip + + macosx + + + + 148808043 + 9b0082db87cf1738866f80160f497b8a53e149a3 + commandlinetools-win-10406996_latest.zip + + windows + + + + + + + 10 + 0 + + Android SDK Command-line Tools + + + + + + 138733165 + a787f0c35d3970f2ad634f7d91a2e7bc49e2c7f5 + commandlinetools-linux-9862592_latest.zip + + linux + + + + 138733149 + 2a0c97c8d9b11f9a64be0a7058bcdbf1aaab9910 + commandlinetools-mac-9862592_latest.zip + + macosx + + + + 138709020 + 5a03c5ce16f4c99ffe7bded82798b01b07a79bc0 + commandlinetools-win-9862592_latest.zip + + windows + + + + + + + 9 + 0 + + Android SDK Command-line Tools + + + + + + 133507477 + 7f92d6e0783a6d73ade5396fe4cfcb58544ef14b + commandlinetools-linux-9477386_latest.zip + + linux + + + + 133507463 + 587441bc37d957857c1f654726eb7e04ee9ca3e0 + commandlinetools-mac-9477386_latest.zip + + macosx + + + + 133486337 + f8cd24223fee3b4cff857c9435caa72be0d08b70 + commandlinetools-win-9477386_latest.zip + + windows + + + + + + + 8 + 0 + + Android SDK Command-line Tools + + + + + + 120916547 + 09b65ebc5aa9c5011fec9416d22711ce7ffc2260 + commandlinetools-linux-9123335_latest.zip + + linux + + + + 120916533 + 089eedfc62371040f9e027835d5114178fc0e658 + commandlinetools-mac-9123335_latest.zip + + macosx + + + + 120895407 + d1511ce5b61e5988b3de4b83062f0a570671074f + commandlinetools-win-9123335_latest.zip + + windows + + + + + + + 7 + 0 + + Android SDK Command-line Tools + + + + + + 114168525 + 5e7bf2dd563d34917d32f3c5920a85562a795c93 + commandlinetools-linux-8512546_latest.zip + + linux + + + + 114168511 + 9a663c49dbd3709fc2b7d49db2814b383d811b4a + commandlinetools-mac-8512546_latest.zip + + macosx + + + + 114147385 + 1bdd32ac4b9fffea04f5bc341108e8b4fea6f32c + commandlinetools-win-8512546_latest.zip + + windows + + + + + + + 6 + 0 + + Android SDK Command-line Tools + + + + + + 119650630 + 8d47ab9a90caa60ce8a95d7e384ec64633bc13b4 + commandlinetools-linux-8092744_latest.zip + + linux + + + + 119650616 + bbd306940256ccb698edae47a56fb8da36d63e0b + commandlinetools-mac-8092744_latest.zip + + macosx + + + + 119629490 + 3098050fb2bdc7cc8a07bdef4dd13035f9f78d2a + commandlinetools-win-8092744_latest.zip + + windows + + + + + + + 5 + 0 + + Android SDK Command-line Tools + + + + + + 109673042 + 0885385de11983c020ff0d47039987fe372160d2 + commandlinetools-linux-7583922_latest.zip + + linux + + + + 109673028 + 49538fa064c077b188bdb51f3aa57bb2882b0abd + commandlinetools-mac-7583922_latest.zip + + macosx + + + + 109651902 + a2f359fb8b075acebcb3e3e48b4170cfe4071882 + commandlinetools-win-7583922_latest.zip + + windows + + + + + + + 4 + 0 + + Android SDK Command-line Tools + + + + + + 103957858 + 87e7cd8879ed469117f20090dc4d454a24e30170 + commandlinetools-linux-7302050_latest.zip + + linux + + + + 103957846 + 8fcf59d208cb5d48e1233979aa5187e7dfb98cf3 + commandlinetools-mac-7302050_latest.zip + + macosx + + + + 103939737 + ede5b054c06a7fea51bfd27041a100bae5521803 + commandlinetools-win-7302050_latest.zip + + windows + + + + + + + 3 + 0 + + Android SDK Command-line Tools + + + + + + 87259900 + 4f4417d53923c34891f1c05f302be2ed197d6844 + commandlinetools-linux-6858069_latest.zip + + linux + + + + 87259890 + 4846d2aede9db06361a5f0885d03997a6199229a + commandlinetools-mac-6858069_latest.zip + + macosx + + + + 87244802 + f0bf21e0a13dfcc48e7b0166f44dcff49912d2ee + commandlinetools-win-6858069_latest.zip + + windows + + + + + + + 2 + 1 + + Android SDK Command-line Tools + + + + + + 86532348 + 9172381ff070ee2a416723c1989770cf4b0d1076 + commandlinetools-linux-6609375_latest.zip + + linux + + + + 86532338 + c0c6bb9f1970bfadeaac623dfabf22c3e56baaec + commandlinetools-mac-6609375_latest.zip + + macosx + + + + 86517250 + e2e19c2ff584efa87ef0cfdd1987f92881323208 + commandlinetools-win-6609375_latest.zip + + windows + + + + + + + 23 + 0 + + Android SDK Command-line Tools (latest) + + + + + + 181052239 + e025545c62a8e64c7559119566a569fb1dec5f60 + commandlinetools-linux-16111833_latest.zip + + linux + + + + 155582504 + 112cf9618794a997ff273537d55bee02c22abffe + commandlinetools-mac_x86_64-16111833_latest.zip + + macosx + x64 + + + + 155384151 + ad03dc49bfacfd52c110b14104ea548b8a07e830 + commandlinetools-mac_arm64-16111833_latest.zip + + macosx + aarch64 + + + + 154957218 + 57d04f2d75eb8e8fffc5000a987e5de4b5a63e9d + commandlinetools-win-16111833_latest.zip + + windows + + + + + + + 2 + 0 + + Android SDK Command-line Tools + + + + + + 86521858 + 14b2114c6eae9e10686a18138d2bb468c46f8e0c + commandlinetools-linux-6514223_latest.zip + + linux + + + + 86521848 + d45816955198c4dfd652584f4c0f1b0e86efb1b7 + commandlinetools-mac-6514223_latest.zip + + macosx + + + + 86506760 + e11b418c1d2d28589e9194915be2561f1e1e7a95 + commandlinetools-win-6514223_latest.zip + + windows + + + + + + + 1 + 0 + + Android SDK Command-line Tools + + + + + + 81680508 + 6ffc5bd72db2c755f9b374ed829202262a6d8aaf + commandlinetools-linux-6200805_latest.zip + + linux + + + + 81680498 + 23f803c07e392bb769507c88b23c2c7868cc7a6f + commandlinetools-mac-6200805_latest.zip + + macosx + + + + 81665410 + a863da8763de2febeb7429e7894fb65a092609db + commandlinetools-win-6200805_latest.zip + + windows + + + + + + + 6 + + Layout Inspector image server for API 29-30 + + + + + + 6323164 + 78af2cd3e4168af80c16d7686536baa318e10cc4 + skiaparser-7083912-linux.zip + + linux + + + + 6561072 + 73aa4e3b52177cf7d4cf956a74311e0097987bb4 + skiaparser-7083912-mac.zip + + macosx + + + + 6059180 + 28dde025a70a0f4819cf195c1cb6e0e2b4bf4514 + skiaparser-7083912-win.zip + + windows + + + + + + + 3 + + Layout Inspector image server for API S + + + + + + 6767192 + 36e2c30f7745f4c062129a0fd549d29ab991db41 + skiaparser-7478287-linux.zip + + linux + + + + 7401688 + 04a834a8ab3efd4612300da7cef7f43a6b257468 + skiaparser-7478287-mac.zip + + macosx + + + + 6532776 + 567f24512f9d9487a3b948032a136261f5d59c92 + skiaparser-7478287-win.zip + + windows + + + + + + + 8 + + Layout Inspector image server for API 31-36 + + + + + + 15894999 + 044c943903d6e29b27e0c39bf6b11caa40969e82 + skiaparser-14118104-linux-x64.zip + + linux + x64 + + + + 4883789 + 03c288712f84edc0fd2d81d519fda950d0ed7247 + skiaparser-14118104-darwin-x64.zip + + macosx + x64 + + + + 4326024 + 705ff5a687a2210538db854ab9cfbc85e94c6011 + skiaparser-14118104-darwin-aarch64.zip + + macosx + aarch64 + + + + 4598454 + b9f9b7bbf0a6483d897db6b857be043238c7cb0f + skiaparser-14118104-win-x64.zip + + windows + x64 + + + + + + + 4 + 1 + 2 + + CMake 4.1.2 + + + + + + 31275750 + c8c4f1c19b75c56f28b9dcf1af928d25cf1a1471 + cmake-4.1.2-linux.zip + + linux + + + + 43690978 + a0578a0543942c7eb35822c88a516b87e5b9867a + cmake-4.1.2-darwin.zip + + macosx + + + + 21045753 + 06bc3fe29aa49297dcc11a2ffe3a999445df05ae + cmake-4.1.2-windows.zip + + windows + + + + + + + 4 + 1 + 1 + + CMake 4.1.1 + + + + + + 31269415 + 33a36c403071cdd43bd5d611552fe5e8955626c2 + cmake-4.1.1-linux.zip + + linux + + + + 43666138 + 9b670a019b956eba9c1d908aae0ec1a341d0ac06 + cmake-4.1.1-darwin.zip + + macosx + + + + 20951734 + 5b66ca33b43b0d526dad95bac20ca9f79ba8490d + cmake-4.1.1-windows.zip + + windows + + + + + + + 4 + 1 + 0 + + CMake 4.1.0 + + + + + + 31268624 + c7df7c5094f58d61a53f615cd68e6e7fd0c41a76 + cmake-4.1.0-linux.zip + + linux + + + + 43658753 + 11ba32eb864c31fcf383456e21d9ab8e13c8d22c + cmake-4.1.0-darwin.zip + + macosx + + + + 20951280 + 3bc560fd2b487841fb0bad2f3585cff8aaf40cd5 + cmake-4.1.0-windows.zip + + windows + + + + + + + 4 + 0 + 3 + + CMake 4.0.3 + + + + + + 30911219 + 595002f48fca924c9dcf7b3274277026024b7887 + cmake-4.0.3-linux.zip + + linux + + + + 43161272 + 11cd1bd2b921d5bc262b7d502403f185dd6001a4 + cmake-4.0.3-darwin.zip + + macosx + + + + 20622355 + edaff2f1c48e57f28c9a03945165b6a54b60aa15 + cmake-4.0.3-windows.zip + + windows + + + + + + + 4 + 0 + 2 + + CMake 4.0.2 + + + + + + 30909648 + 83295132168f6a41d6461746e1e9844583adac00 + cmake-4.0.2-linux.zip + + linux + + + + 43157416 + 82f5dfe96433d1085f49697f7f985266ebece998 + cmake-4.0.2-darwin.zip + + macosx + + + + 20621162 + 337378ae8fb6b7c88b8c439dbe2714cc17a3ab04 + cmake-4.0.2-windows.zip + + windows + + + + + + + 3 + 31 + 6 + + CMake 3.31.6 + + + + + + 30771638 + a54551dabd5daf8cc99f7f51769fd00ca759be0a + cmake-3.31.6-linux.zip + + linux + + + + 42861179 + 78c3bf819d7bf6144783aeef06c5f9cbd3f8f5a9 + cmake-3.31.6-darwin.zip + + macosx + + + + 20491843 + 1efbef168291afc5d6ae449b1a016f8bf034b0fc + cmake-3.31.6-windows.zip + + windows + + + + + + + 3 + 31 + 5 + + CMake 3.31.5 + + + + + + 30482790 + 823156dfed8f1e4bf1a82bbc9c41a5415546b8ac + cmake-3.31.5-linux.zip + + linux + + + + 42792306 + 4c28c635f08638494ce563ffa7d26d1c43a50190 + cmake-3.31.5-darwin.zip + + macosx + + + + 20465729 + 6a51cf2d1f300edecbf04603087a31b07a0fcdec + cmake-3.31.5-windows.zip + + windows + + + + + + + 3 + 31 + 4 + + CMake 3.31.4 + + + + + + 30482338 + 329d5d23600fc7cff8ebff8136a0fd0e7994c069 + cmake-3.31.4-linux.zip + + linux + + + + 42791670 + 4094e82ed72c994bf9c0244d71db555a7c97e693 + cmake-3.31.4-darwin.zip + + macosx + + + + 20465800 + 7012f994ba691ca888b0733e95ab62c3f300d7dc + cmake-3.31.4-windows.zip + + windows + + + + + + + 3 + 31 + 1 + + CMake 3.31.1 + + + + + + 30474570 + 477e6cd2d8094d2653464a60869aa15e0d79a24f + cmake-3.31.1-linux.zip + + linux + + + + 42781652 + 11b79b8908377bdd038aac0625e7d8aa32aed503 + cmake-3.31.1-darwin.zip + + macosx + + + + 20462685 + 3a8f1f1b33e0ed2a639b6e709ab15806648979c9 + cmake-3.31.1-windows.zip + + windows + + + + + + + 3 + 31 + 0 + + CMake 3.31.0 + + + + + + 30452943 + 13b9505857aa3bbfc1d80ec6b587e3ba2d2929f3 + cmake-3.31.0-linux.zip + + linux + + + + 42747441 + d20697c5eb256dff2d29d52440e9cfe0f973538f + cmake-3.31.0-darwin.zip + + macosx + + + + 20441934 + 39fa0e1898861bdef2da13f7b19ad0d0be5dac83 + cmake-3.31.0-windows.zip + + windows + + + + + + + 3 + 30 + 5 + + CMake 3.30.5 + + + + + + 29566687 + c999a37fa18cb3e24dc003386cffe1d86add91b5 + cmake-3.30.5-linux.zip + + linux + + + + 41485176 + 3a7d78b52bdb455d9f041b1e521fc3e0dcbaef29 + cmake-3.30.5-darwin.zip + + macosx + + + + 19898983 + 308c94365edb2760f38eef8f745e313e36908a18 + cmake-3.30.5-windows.zip + + windows + + + + + + + 3 + 30 + 4 + + CMake 3.30.4 + + + + + + 29566348 + b7d4287a46737718d88611655608d567fcc07c1e + cmake-3.30.4-linux.zip + + linux + + + + 41484902 + 73e4d81d4ee1917e9b56ea6f35764c1861a52c45 + cmake-3.30.4-darwin.zip + + macosx + + + + 19898645 + c4ed0e13447b94ddf548f67c6faac7e5ac878fb8 + cmake-3.30.4-windows.zip + + windows + + + + + + + 3 + 30 + 3 + + CMake 3.30.3 + + + + + + 29565700 + dc0d803d79b66eb7aa4b12b3056db5734ec1841f + cmake-3.30.3-linux.zip + + linux + + + + 41486046 + 99ee0e31ad78ca5d50fa68fa203543adbe49f412 + cmake-3.30.3-darwin.zip + + macosx + + + + 19897608 + e25190d483d169ca8522ca4e15412188183b1d02 + cmake-3.30.3-windows.zip + + windows + + + + + + + 3 + 22 + 1 + + CMake 3.22.1 + + + + + + 38223266 + 8604eeef9adadb626dbb70a7ff58a87e6a7b967a + cmake-3.22.1-darwin.zip + + macosx + + + + 22308647 + fd0a48b4a758310df8c7aa51f59840ed48fe7ed8 + cmake-3.22.1-linux.zip + + linux + + + + 16116742 + 292778f32a7d5183e1c49c7897b870653f2d2c1b + cmake-3.22.1-windows.zip + + windows + + + + + + + 3 + 18 + 1 + + CMake 3.18.1 + + + + + + 14676950 + 63723e9657a3ce1fc3ae078229c6199af80b76bd + 7c386a739f915f5bd60051f2572c24782388e807.cmake-3.18.1-windows.zip + + windows + + + + 18505220 + 809fdc8e14c745c6df4e506cc2157910f50b9cd9 + ba34c321f92f6e6fd696c8354c262c122f56abf8.cmake-3.18.1-darwin.zip + + macosx + + + + 21005945 + 9435bbe2120763871c75c37a365451b48c007fed + cmake-3.18.1-linux.zip + + linux + + + + + + + 3 + 6 + 4111459 + + CMake 3.6.4111459 + + + + + + 12295830 + c9b02d630079783c6d67cb91488b622cfcd9765c + cmake-3.6.4111459-darwin-aarch64.zip + + macosx + aarch64 + + + + 12295830 + c9b02d630079783c6d67cb91488b622cfcd9765c + cmake-3.6.4111459-darwin-x86_64.zip + + macosx + x64 + + + + 13980243 + 71c539b9c33f0943e9ad6251fea0b161c0b70782 + cmake-3.6.4111459-linux-x86_64.zip + + linux + x64 + + + + 10428915 + 4c4730dc3f399b2fa9ab701112d2c439368a59a5 + cmake-3.6.4111459-windows-x86_64.zip + + windows + x64 + + + + + + + 3 + 10 + 2 + + CMake 3.10.2.4988404 + + + + + + 13447295 + f227a85cb53dcb927ac52a5a717f647c4a29bf3b + cmake-3.10.2-darwin-aarch64.zip + + macosx + aarch64 + + + + 13447295 + f227a85cb53dcb927ac52a5a717f647c4a29bf3b + cmake-3.10.2-darwin-x86_64.zip + + macosx + x64 + + + + 14275684 + 439e8799bf59f724f104bf62784b2985f1bfe561 + cmake-3.10.2-linux-x86_64.zip + + linux + x64 + + + + 11899659 + 0a75b9c5bf558dc31caad7241a44515064656486 + cmake-3.10.2-windows-x86_64.zip + + windows + x64 + + + + + + + 2 + 0 + + Android Auto Desktop Head Unit Emulator + + + + + + 7443824 + 4e90abf932e512d6ca954b5126dd3a11e7a279e2 + desktop-head-unit-darwin-aarch64_r02.0.zip + + macosx + aarch64 + + + + 8030009 + d4d12a2173fef608ad62b94fed3a112bfa146759 + desktop-head-unit-darwin-x64_r02.0.zip + + macosx + x64 + + + + 6895443 + 77e3f80c2834e1fad33f56539ceb0215da408fab + desktop-head-unit-linux-x64_r02.0.zip + + linux + x64 + + + + 6801703 + 680418d5aca256cce151eb7f9527294e95b6bb8a + desktop-head-unit-windows-x64_r02.0.zip + + windows + x64 + + + + + + + 2 + 1 + + Android Auto Desktop Head Unit Emulator + + + + + + 7572204 + edd9d9389ac511d5f28e47cdfbf54bbcd7294d7f + desktop-head-unit-darwin-aarch64_r02.1.zip + + macosx + aarch64 + + + + 7797329 + 4f8a3d3e32b27de1fc190d149039842e76a55bdd + desktop-head-unit-darwin-x64_r02.1.zip + + macosx + x64 + + + + 6927985 + 5d87eb87a1421e59d528eac1f5cdd406c0b39f51 + desktop-head-unit-linux-x64_r02.1.zip + + linux + x64 + + + + 7012059 + c27bf84e59dda7b79315b6ca2a314063feffd6ac + desktop-head-unit-windows-x64_r02.1.zip + + windows + x64 + + + + + + + 37 + 0 + 1 + + Android SDK Platform-Tools + + + + + + 9054187 + 477254aa5f903c15cf51001717bdf347fb6b53e0 + platform-tools_r37.0.1-linux.zip + + linux + + + + 16110554 + 6ae73f4de6452dc57e62ec02b68eed92a4c21661 + platform-tools_r37.0.1-darwin.zip + + macosx + + + + 8044989 + e03e78b1d80b396f1c3358e31251cb31740e1110 + platform-tools_r37.0.1-win.zip + + windows + + + + + + + 37 + 1 + 2 + + Android Emulator (Preview) + + + + + 36 + 6 + 11 + + + + + + + + 519739418 + 7dfd1a95ce66f950b78bb1b7c7edd48a9cb28f54 + emulator_linux_x64-16173978.zip + + linux + x64 + + + + 472776314 + 2442cfa47774682b371a7ac9add304c8f4b8e953 + emulator_darwin_aarch64-16173978.zip + + macosx + aarch64 + + + + 286084841 + b69bfb9315c068b7451772014cc4d0cb7590e9d5 + emulator_windows_x64-16173978.zip + + windows + x64 + + + + + + + 37 + 1 + 1 + + Android Emulator (Preview) + + + + + 36 + 6 + 11 + + + + + + + + 501654802 + 4a8c33a0961f1f92220c81685cca7b359a671876 + emulator_linux_x64-16013376.zip + + linux + x64 + + + + 455764583 + ac7a12fb630031521cb86ff8b8c522571632eb2a + emulator_darwin_aarch64-16013376.zip + + macosx + aarch64 + + + + 274607412 + 591724aa6d39b2f68b261d50d309d83eb838c2ea + emulator_windows_x64-16013376.zip + + windows + x64 + + + + + + + 37 + 1 + 2 + + Android Emulator (Preview) (latest) + + + + + 36 + 6 + 11 + + + + + + + + 519739418 + 7dfd1a95ce66f950b78bb1b7c7edd48a9cb28f54 + emulator_linux_x64-16173978.zip + + linux + x64 + + + + 472776314 + 2442cfa47774682b371a7ac9add304c8f4b8e953 + emulator_darwin_aarch64-16173978.zip + + macosx + aarch64 + + + + 286084841 + b69bfb9315c068b7451772014cc4d0cb7590e9d5 + emulator_windows_x64-16173978.zip + + windows + x64 + + + + + + + 37 + 2 + 10 + + Android Emulator + + + + + + 349652600 + d33c8e6c6d5dfa3a3d0e4b8329e14c2ef7e9c715 + emulator-linux_x64-16349944.zip + + linux + x64 + + + + 488735352 + 68cf0ffd25663f6e44bff19d0e961ece792689c1 + emulator-darwin_x64-16349944.zip + + macosx + x64 + + + + 416114733 + cb9552f57c2c3f012e73dee51fda0d59b15941cf + emulator-darwin_aarch64-16349944.zip + + macosx + aarch64 + + + + 455342191 + 99e809fc3e5e13bd5e552de24c7de79c6f911027 + emulator-windows_x64-16349944.zip + + windows + x64 + + + + + + + 37 + 1 + 11 + + Android Emulator + + + + + + 334378080 + 1b1f78891abf8ec268264356e1365c25519e8379 + emulator-linux_x64-15917651.zip + + linux + x64 + + + + 465773989 + 7df8b0acbe915217dcbb576222bddfcc23e81230 + emulator-darwin_x64-15917651.zip + + macosx + x64 + + + + 394555844 + f22f44948a2b7f0a0103645b9a639290eef92426 + emulator-darwin_aarch64-15917651.zip + + macosx + aarch64 + + + + 441926448 + 54fa750822ff462d57e04fc8e98e60f08df2bb61 + emulator-windows_x64-15917651.zip + + windows + x64 + + + + + + + 0 + 0 + 20 + 01 + + Lightbuild + + + + + + 63089404 + 1a6c30be556dc1f8377eb67790e84aa0d2898b09 + lume-daemon-linux_x64-16311758.zip + + linux + x64 + + + + 61192929 + fde9b31e3117c07bd30fafb86397ff198bb95854 + lume-daemon-darwin_x64-16311758.zip + + macosx + x64 + + + + 60324690 + 9d1a4a977e1987e455e5bc0c4c1b41239fa54c75 + lume-daemon-darwin_aarch64-16311758.zip + + macosx + aarch64 + + + + 61150048 + ec733db5e928368145a58ab0e773da0c5cd23fc7 + lume-daemon-windows_x64-16311758.zip + + windows + x64 + + + + + + + 0 + 0 + 10 + 01 + + Lightbuild + + + + + + 54545329 + bbaecf0ed6ed984f39a46ecf03806b4eba008552 + lume-daemon-linux_x64-15462315.zip + + linux + x64 + + + + 53468025 + 6c8aa92efdc874379bcb3d0e638488aa3b73c55a + lume-daemon-darwin_x64-15462315.zip + + macosx + x64 + + + + 51937048 + f551b20c7e350ecef16c904fe924c158c3bbf407 + lume-daemon-darwin_aarch64-15462315.zip + + macosx + aarch64 + + + + 52962096 + 5188f24c7bdabbabebb1bc0bbf29d8c29abe6488 + lume-daemon-windows_x64-15462315.zip + + windows + x64 + + + + + + + 0 + 1 + 1 + + Android Project Templates + + + + + + 191115 + e8f0cca1fad5ab0411ef315fb9cb2274c30f6415 + templates-sdk-package-15508551.zip + + + + + diff --git a/tests/fixtures/studio-frame.html b/tests/fixtures/studio-frame.html new file mode 100644 index 0000000..f283bf7 --- /dev/null +++ b/tests/fixtures/studio-frame.html @@ -0,0 +1,17465 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ diff --git a/tests/test_update_android_downloads.py b/tests/test_update_android_downloads.py new file mode 100644 index 0000000..e03c43c --- /dev/null +++ b/tests/test_update_android_downloads.py @@ -0,0 +1,169 @@ +#!/usr/bin/env python3 +"""Offline regression tests for the guarded Android download updater.""" + +from __future__ import annotations + +import sys +import tempfile +import unittest +from pathlib import Path + + +ROOT = Path(__file__).resolve().parents[1] +sys.path.insert(0, str(ROOT / "scripts")) + +import update_android_downloads as updater # noqa: E402 + + +FIXTURES = ROOT / "tests" / "fixtures" + + +class UpdateAndroidDownloadsTests(unittest.TestCase): + @classmethod + def setUpClass(cls) -> None: + cls.studio_frame = (FIXTURES / "studio-frame.html").read_text(encoding="utf-8") + cls.emulator_frame = (FIXTURES / "emulator-frame.html").read_text(encoding="utf-8") + cls.repository_xml = (FIXTURES / "repository2.xml").read_text(encoding="utf-8") + + def test_studio_fixture_parses_expected_count_and_latest_release(self) -> None: + releases, duplicates = updater.parse_releases(self.studio_frame, "Android Studio") + + self.assertEqual(678, len(releases)) + self.assertEqual(1, duplicates) + self.assertEqual("Android Studio Quail 4 | 2026.1.4 Patch 1", releases[0].name) + self.assertEqual("September 18, 2026", releases[0].date_display) + self.assertEqual(6, len(releases[0].downloads)) + + def test_emulator_fixture_deduplicates_exact_official_duplicate(self) -> None: + releases, duplicates = updater.parse_releases(self.emulator_frame, "Android Emulator") + + self.assertEqual(212, len(releases)) + self.assertEqual(1, duplicates) + self.assertEqual("Android Emulator (37.2.10) Beta", releases[0].name) + self.assertEqual("emulator-linux_x64-16349944.zip", releases[0].downloads[0].filename) + + def test_repository_xml_cross_validation_matches_stable_and_beta(self) -> None: + releases, _ = updater.parse_releases(self.emulator_frame, "Android Emulator") + + checks = updater.validate_emulator_repository(releases, self.repository_xml) + + self.assertEqual( + [ + {"channel": "stable", "version": "37.1.11", "status": "matched"}, + {"channel": "beta", "version": "37.2.10", "status": "matched"}, + ], + checks, + ) + + def test_download_validation_rejects_untrusted_host(self) -> None: + download = updater.Download( + platform="Linux", + url="https://example.invalid/android.zip", + filename="android.zip", + size="1 MB", + checksum="a" * 64, + group="Zip files", + ) + + with self.assertRaises(updater.UpdateError): + updater._validate_download(download, "test") + + def test_download_validation_rejects_missing_checksum(self) -> None: + download = updater.Download( + platform="Linux", + url="https://dl.google.com/android/repository/android.zip", + filename="android.zip", + size="1 MB", + checksum="", + group="Zip files", + ) + + with self.assertRaises(updater.UpdateError): + updater._validate_download(download, "test") + + def test_rendering_uses_stable_id_and_escapes_markup(self) -> None: + release = updater.Release( + name="Android Studio Quail 4 | 2026.1.4 ", + date_display="September 18, 2026", + date_iso="2026-09-18", + channel="stable", + downloads=( + updater.Download( + platform="Mac ", + url="https://dl.google.com/android/repository/file?a=1&b=2", + filename="file.zip", + size="1 MB", + checksum="b" * 64, + group="Zip files", + ), + ), + ) + + rendered = updater.render_release("studio", release) + + self.assertIn('id="studio-2026-1-4-stable"', rendered) + self.assertIn("Mac <Intel>", rendered) + self.assertIn("a=1&b=2", rendered) + self.assertNotIn("", rendered) + + def test_marker_replacement_preserves_surrounding_page(self) -> None: + start, end = updater.MARKERS["studio"] + original = f"prefix\n{start}\nold\n{end}\nsuffix" + + replaced = updater._replace_marker(original, "studio", "new") + + self.assertEqual(f"prefix\n{start}\nnew\n{end}\nsuffix", replaced) + with self.assertRaises(updater.UpdateError): + updater._replace_marker(f"{original}\n{start}", "studio", "new") + + def test_bootstrap_then_write_is_idempotent(self) -> None: + with tempfile.TemporaryDirectory() as temporary_dir: + site_dir = Path(temporary_dir) + (site_dir / "android-studio.html").write_text( + '

keep archive chrome

\n', + encoding="utf-8", + ) + (site_dir / "android-emulator.html").write_text( + '

keep archive emulator

\n', + encoding="utf-8", + ) + (site_dir / "index.html").write_text( + '

Studio

\n' + '

old studio

\n' + '
more
\n' + '
\n' + '

Emulator

\n' + '

old emulator

\n' + '
more
\n' + '
\n', + encoding="utf-8", + ) + + first = updater.run_update( + site_dir=site_dir, + mode="bootstrap", + offline_fixtures=True, + script_path=ROOT / "scripts" / "update_android_downloads.py", + ) + snapshot = {name: (site_dir / name).read_bytes() for name in updater.TARGET_FILES} + second = updater.run_update( + site_dir=site_dir, + mode="write", + offline_fixtures=True, + script_path=ROOT / "scripts" / "update_android_downloads.py", + ) + third = updater.run_update( + site_dir=site_dir, + mode="check", + offline_fixtures=True, + script_path=ROOT / "scripts" / "update_android_downloads.py", + ) + + self.assertEqual(list(updater.TARGET_FILES), first["changed_files"]) + self.assertFalse(second["changed"]) + self.assertFalse(third["changed"]) + self.assertEqual(snapshot, {name: (site_dir / name).read_bytes() for name in updater.TARGET_FILES}) + + +if __name__ == "__main__": + unittest.main() From 93da8fa40424b1b7454560569e282d9cb72d1bfa Mon Sep 17 00:00:00 2001 From: inferjay Date: Sun, 20 Sep 2026 13:10:57 +0800 Subject: [PATCH 02/10] ci: update GitHub Actions runtime pins --- .github/workflows/update-android-downloads.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-android-downloads.yml b/.github/workflows/update-android-downloads.yml index 020a92a..d0f3ab3 100644 --- a/.github/workflows/update-android-downloads.yml +++ b/.github/workflows/update-android-downloads.yml @@ -16,17 +16,17 @@ permissions: jobs: update: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out automation source - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 with: ref: master path: automation fetch-depth: 1 - name: Check out published site - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 with: ref: gh-pages path: site From 5fc5cc97bf4f7d7c9fa08b4d127cd5f2f6d44a71 Mon Sep 17 00:00:00 2001 From: inferjay Date: Fri, 25 Sep 2026 14:43:40 +0800 Subject: [PATCH 03/10] fix: tolerate repository rollout lag --- scripts/update_android_downloads.py | 24 ++++++++++++++++ tests/test_update_android_downloads.py | 38 ++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/scripts/update_android_downloads.py b/scripts/update_android_downloads.py index 9cf9c29..00ab7de 100644 --- a/scripts/update_android_downloads.py +++ b/scripts/update_android_downloads.py @@ -567,6 +567,10 @@ def _version_from_emulator_name(name: str) -> str: return match.group(0) +def _version_key(version: str) -> tuple[int, ...]: + return tuple(int(part) for part in version.split(".")) + + def validate_emulator_repository(releases: Sequence[Release], xml_text: str) -> list[dict[str, str]]: packages = parse_repository_emulator(xml_text) checks: list[dict[str, str]] = [] @@ -580,6 +584,26 @@ def validate_emulator_repository(releases: Sequence[Release], xml_text: str) -> None, ) if package is None: + newer_packages = [ + item + for item in packages + if item["channel"] == channel_ref + and _version_key(str(item["revision"])) > _version_key(version) + ] + if newer_packages: + repository_version = max( + (str(item["revision"]) for item in newer_packages), + key=_version_key, + ) + checks.append( + { + "channel": channel, + "version": version, + "status": "repository-newer", + "repository_version": repository_version, + } + ) + continue raise UpdateError(f"Repository XML 未找到 {channel} Emulator {version} 的交叉校验包") archives = package["archives"] assert isinstance(archives, dict) diff --git a/tests/test_update_android_downloads.py b/tests/test_update_android_downloads.py index e03c43c..e722cd8 100644 --- a/tests/test_update_android_downloads.py +++ b/tests/test_update_android_downloads.py @@ -55,6 +55,44 @@ def test_repository_xml_cross_validation_matches_stable_and_beta(self) -> None: checks, ) + def test_repository_newer_beta_rollout_is_reported_without_failing(self) -> None: + releases, _ = updater.parse_releases(self.emulator_frame, "Android Emulator") + newer_repository_xml = self.repository_xml.replace( + "10\n \n Android Emulator\n" + " \n ", + "11\n \n Android Emulator\n" + " \n ", + 1, + ) + + checks = updater.validate_emulator_repository(releases, newer_repository_xml) + + self.assertEqual( + [ + {"channel": "stable", "version": "37.1.11", "status": "matched"}, + { + "channel": "beta", + "version": "37.2.10", + "status": "repository-newer", + "repository_version": "37.2.11", + }, + ], + checks, + ) + + def test_repository_older_beta_rollout_still_fails_closed(self) -> None: + releases, _ = updater.parse_releases(self.emulator_frame, "Android Emulator") + older_repository_xml = self.repository_xml.replace( + "10\n \n Android Emulator\n" + " \n ", + "9\n \n Android Emulator\n" + " \n ", + 1, + ) + + with self.assertRaisesRegex(updater.UpdateError, "未找到 beta Emulator 37.2.10"): + updater.validate_emulator_repository(releases, older_repository_xml) + def test_download_validation_rejects_untrusted_host(self) -> None: download = updater.Download( platform="Linux", From 0618dee46cee50d9c64a2ff236d292f6d4773462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=84=89=E8=84=89=E4=B8=8D=E5=BE=97=E8=AF=AD?= Date: Thu, 1 Oct 2026 22:08:16 +0800 Subject: [PATCH 04/10] fix: warn on stale Emulator repository rollout mismatch --- .../workflows/update-android-downloads.yml | 17 +++++- scripts/update_android_downloads.py | 38 +++++++++--- tests/test_update_android_downloads.py | 61 ++++++++++++++++++- 3 files changed, 103 insertions(+), 13 deletions(-) diff --git a/.github/workflows/update-android-downloads.yml b/.github/workflows/update-android-downloads.yml index d0f3ab3..908bd80 100644 --- a/.github/workflows/update-android-downloads.yml +++ b/.github/workflows/update-android-downloads.yml @@ -43,6 +43,21 @@ jobs: --mode write --report-json update-report.json + - name: Report cross-validation (including no-change runs) + run: | + python3 - <<'PY' + import json + import os + from pathlib import Path + + report = json.loads(Path("update-report.json").read_text()) + with open(os.environ["GITHUB_STEP_SUMMARY"], "a") as summary: + for check in report["repository_cross_validation"]: + if "warning" in check: + summary.write(f"**WARNING:** {check['warning']}\n\n") + summary.write("```json\n" + json.dumps(report, ensure_ascii=False, indent=2) + "\n```\n") + PY + - name: Fail if the update escaped its allowlist working-directory: site shell: bash @@ -71,8 +86,6 @@ jobs: exit 1 fi - cat ../update-report.json >> "$GITHUB_STEP_SUMMARY" - - name: Create or update the review PR working-directory: site env: diff --git a/scripts/update_android_downloads.py b/scripts/update_android_downloads.py index 00ab7de..37c998e 100644 --- a/scripts/update_android_downloads.py +++ b/scripts/update_android_downloads.py @@ -59,6 +59,8 @@ } MIN_COUNT_RATIO = 0.8 MAX_DIFF_LINES = 2000 +# Archive age is a stateless staleness proxy, not observed mismatch duration. +REPOSITORY_NEWER_WARNING_DAYS = 7 USER_AGENT = "AndroidDevTools-download-updater/1.0 (+https://github.com/inferjay/AndroidDevTools)" DATE_RE = re.compile( r"\b(?:January|February|March|April|May|June|July|August|September|October|November|December|" @@ -571,9 +573,12 @@ def _version_key(version: str) -> tuple[int, ...]: return tuple(int(part) for part in version.split(".")) -def validate_emulator_repository(releases: Sequence[Release], xml_text: str) -> list[dict[str, str]]: +def validate_emulator_repository( + releases: Sequence[Release], xml_text: str, *, today: dt.date | None = None, +) -> list[dict[str, object]]: packages = parse_repository_emulator(xml_text) - checks: list[dict[str, str]] = [] + today = today if today is not None else dt.datetime.now(dt.timezone.utc).date() + checks: list[dict[str, object]] = [] for channel, channel_ref in (("stable", "channel-0"), ("beta", "channel-1")): candidate = next((release for release in releases if release.channel == channel), None) if candidate is None: @@ -595,14 +600,27 @@ def validate_emulator_repository(releases: Sequence[Release], xml_text: str) -> (str(item["revision"]) for item in newer_packages), key=_version_key, ) - checks.append( - { - "channel": channel, - "version": version, - "status": "repository-newer", - "repository_version": repository_version, - } - ) + archive_age_days = (today - dt.date.fromisoformat(candidate.date_iso)).days + check: dict[str, object] = { + "channel": channel, + "version": version, + "status": "repository-newer", + "repository_version": repository_version, + "archive_release_date": candidate.date_iso, + "checked_date_utc": today.isoformat(), + "archive_age_days": archive_age_days, + "warning_threshold_days": REPOSITORY_NEWER_WARNING_DAYS, + "staleness_basis": "archive-age-proxy-not-observed-mismatch-duration", + } + if archive_age_days >= REPOSITORY_NEWER_WARNING_DAYS: + check["warning"] = ( + f"Emulator {channel}: archive {version} (released {candidate.date_iso}, " + f"{archive_age_days} days old) is behind Repository XML {repository_version}. " + f"Archive age reached the {REPOSITORY_NEWER_WARNING_DAYS}-day staleness threshold; " + "investigate upstream archive freshness. This is an archive-age proxy, " + "not confirmed mismatch duration. repository-newer remains non-blocking." + ) + checks.append(check) continue raise UpdateError(f"Repository XML 未找到 {channel} Emulator {version} 的交叉校验包") archives = package["archives"] diff --git a/tests/test_update_android_downloads.py b/tests/test_update_android_downloads.py index e722cd8..1a484dd 100644 --- a/tests/test_update_android_downloads.py +++ b/tests/test_update_android_downloads.py @@ -4,9 +4,12 @@ from __future__ import annotations import sys +import datetime as dt +from dataclasses import replace import tempfile import unittest from pathlib import Path +from unittest.mock import patch ROOT = Path(__file__).resolve().parents[1] @@ -65,7 +68,9 @@ def test_repository_newer_beta_rollout_is_reported_without_failing(self) -> None 1, ) - checks = updater.validate_emulator_repository(releases, newer_repository_xml) + checks = updater.validate_emulator_repository( + releases, newer_repository_xml, today=dt.date(2026, 9, 18), + ) self.assertEqual( [ @@ -75,11 +80,51 @@ def test_repository_newer_beta_rollout_is_reported_without_failing(self) -> None "version": "37.2.10", "status": "repository-newer", "repository_version": "37.2.11", + "archive_release_date": "2026-09-17", + "checked_date_utc": "2026-09-18", + "archive_age_days": 1, + "warning_threshold_days": 7, + "staleness_basis": "archive-age-proxy-not-observed-mismatch-duration", }, ], checks, ) + def test_repository_newer_staleness_boundary_and_future_date(self) -> None: + releases, _ = updater.parse_releases(self.emulator_frame, "Android Emulator") + newer_xml = self.repository_xml.replace("10", "11") + for age in (-1, 0, 6, 7, 14): + with self.subTest(age=age): + checks = updater.validate_emulator_repository( + releases, newer_xml, + today=dt.date(2026, 9, 17) + dt.timedelta(days=age), + ) + beta = checks[1] + self.assertEqual("repository-newer", beta["status"]) + self.assertEqual(age, beta["archive_age_days"]) + self.assertEqual(age >= 7, "warning" in beta) + self.assertNotIn("warning", checks[0]) + if age >= 7: + self.assertIn("not confirmed mismatch duration", beta["warning"]) + + def test_old_matched_release_has_no_staleness_warning(self) -> None: + releases, _ = updater.parse_releases(self.emulator_frame, "Android Emulator") + checks = updater.validate_emulator_repository( + releases, self.repository_xml, today=dt.date(2027, 1, 1), + ) + self.assertTrue(all(check["status"] == "matched" for check in checks)) + self.assertTrue(all("warning" not in check for check in checks)) + + def test_fresh_archive_rollover_clears_warning(self) -> None: + releases, _ = updater.parse_releases(self.emulator_frame, "Android Emulator") + newer_xml = self.repository_xml.replace("10", "11") + releases = [replace(r, date_iso="2026-10-01") if r.channel == "beta" else r for r in releases] + checks = updater.validate_emulator_repository( + releases, newer_xml, today=dt.date(2026, 10, 1), + ) + self.assertEqual("repository-newer", checks[1]["status"]) + self.assertNotIn("warning", checks[1]) + def test_repository_older_beta_rollout_still_fails_closed(self) -> None: releases, _ = updater.parse_releases(self.emulator_frame, "Android Emulator") older_repository_xml = self.repository_xml.replace( @@ -202,6 +247,20 @@ def test_bootstrap_then_write_is_idempotent(self) -> None: self.assertFalse(third["changed"]) self.assertEqual(snapshot, {name: (site_dir / name).read_bytes() for name in updater.TARGET_FILES}) + # A stale warning must survive a no-change write without touching pages. + sources = updater.load_sources(True, ROOT / "scripts" / "update_android_downloads.py") + newer_xml = sources[2].replace("10", "11") + validate = updater.validate_emulator_repository + with patch.object(updater, "load_sources", return_value=(sources[0], sources[1], newer_xml, sources[3])), patch.object( + updater, "validate_emulator_repository", + side_effect=lambda releases, xml: validate(releases, xml, today=dt.date(2026, 10, 1)), + ): + stale = updater.run_update(site_dir, "write", True, ROOT / "scripts" / "update_android_downloads.py") + self.assertFalse(stale["changed"]) + self.assertEqual("repository-newer", stale["repository_cross_validation"][1]["status"]) + self.assertIn("warning", stale["repository_cross_validation"][1]) + self.assertEqual(snapshot, {name: (site_dir / name).read_bytes() for name in updater.TARGET_FILES}) + if __name__ == "__main__": unittest.main() From 0e5fa9c32f0b7fbb56fb7969663d5911cb8d0ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=84=89=E8=84=89=E4=B8=8D=E5=BE=97=E8=AF=AD?= Date: Sat, 3 Oct 2026 11:59:42 +0800 Subject: [PATCH 05/10] fix: handle archived beta superseded by matched stable --- scripts/update_android_downloads.py | 39 ++++++- tests/test_update_android_downloads.py | 142 +++++++++++++++++++++++++ 2 files changed, 179 insertions(+), 2 deletions(-) diff --git a/scripts/update_android_downloads.py b/scripts/update_android_downloads.py index 37c998e..c6aaa2f 100644 --- a/scripts/update_android_downloads.py +++ b/scripts/update_android_downloads.py @@ -555,8 +555,10 @@ def parse_repository_emulator(xml_text: str) -> list[dict[str, object]]: archives[Path(url_element.text.strip()).name] = int(size_element.text.strip()) except ValueError as exc: raise UpdateError(f"Repository XML 的 emulator size 不是整数: {size_element.text!r}") from exc - if revision and channel and archives: - packages.append({"revision": revision, "channel": channel, "archives": archives}) + if not revision or not channel or not archives: + # An incomplete beta entry must not look like an absent channel. + raise UpdateError("Repository XML 的 emulator 包缺少版本、渠道或下载信息") + packages.append({"revision": revision, "channel": channel, "archives": archives}) if not packages: raise UpdateError("Repository XML 中没有找到 emulator 包") return packages @@ -579,6 +581,7 @@ def validate_emulator_repository( packages = parse_repository_emulator(xml_text) today = today if today is not None else dt.datetime.now(dt.timezone.utc).date() checks: list[dict[str, object]] = [] + matched_stable: Release | None = None for channel, channel_ref in (("stable", "channel-0"), ("beta", "channel-1")): candidate = next((release for release in releases if release.channel == channel), None) if candidate is None: @@ -622,6 +625,36 @@ def validate_emulator_repository( ) checks.append(check) continue + # SDK channels are cumulative: beta also includes stable packages. + # https://developer.android.com/tools/sdkmanager#options + # A newer, independently matched stable can supersede an archived + # beta after the dedicated beta package disappears from the feed. + # Do not use this for an older/present beta or an unverified stable. + if ( + channel == "beta" + and not any(item["channel"] == channel_ref for item in packages) + and matched_stable is not None + and _release_version(matched_stable) > _version_key(version) + and matched_stable.date_iso >= candidate.date_iso + ): + stable_version = _version_from_emulator_name(matched_stable.name) + checks.append({ + "channel": channel, + "version": version, + "status": "beta-superseded-by-stable", + "repository_channel": "stable", + "repository_version": stable_version, + "archive_release_date": candidate.date_iso, + "archive_stable_release_date": matched_stable.date_iso, + "warning": ( + f"Emulator beta {version}: Repository XML has no dedicated beta package; " + f"newer stable {stable_version} was matched by filename and size. " + "The historical beta is retained from the official archive, but its " + "download metadata was not matched against Repository XML. " + "This is channel supersession, not archive-newer rollout-lag tolerance." + ), + }) + continue raise UpdateError(f"Repository XML 未找到 {channel} Emulator {version} 的交叉校验包") archives = package["archives"] assert isinstance(archives, dict) @@ -635,6 +668,8 @@ def validate_emulator_repository( f"({download.size} != {archives[download.filename]})" ) checks.append({"channel": channel, "version": version, "status": "matched"}) + if channel == "stable": + matched_stable = candidate if not checks: raise UpdateError("Emulator frame 没有可用于 Repository XML 交叉校验的 Stable/Beta 条目") return checks diff --git a/tests/test_update_android_downloads.py b/tests/test_update_android_downloads.py index 1a484dd..7d448f0 100644 --- a/tests/test_update_android_downloads.py +++ b/tests/test_update_android_downloads.py @@ -28,6 +28,38 @@ def setUpClass(cls) -> None: cls.emulator_frame = (FIXTURES / "emulator-frame.html").read_text(encoding="utf-8") cls.repository_xml = (FIXTURES / "repository2.xml").read_text(encoding="utf-8") + @staticmethod + def _repository_package(release: updater.Release, channel: str) -> str: + major, minor, micro = updater._release_version(release) + archives = "".join( + f"{download.filename}" + f"{download.size.split()[0]}" + for download in release.downloads + ) + return ( + '' + f"{major}{minor}{micro}" + f'{archives}' + '' + ) + + def _supersession_sources(self) -> tuple[list[updater.Release], str]: + # Model the 2026-10-02 failure: stable 37.2.12, archived beta 37.2.11, + # and no dedicated beta in XML. Reuse valid fixture download metadata. + releases, _ = updater.parse_releases(self.emulator_frame, "Android Emulator") + stable = replace( + next(r for r in releases if r.channel == "stable"), + name="Android Emulator (37.2.12) Stable", + date_display="October 1, 2026", date_iso="2026-10-01", + ) + beta = replace( + next(r for r in releases if r.channel == "beta"), + name="Android Emulator (37.2.11) Beta", + date_display="October 1, 2026", date_iso="2026-10-01", + ) + xml = '' + self._repository_package(stable, "channel-0") + '' + return [stable, beta, *releases], xml + def test_studio_fixture_parses_expected_count_and_latest_release(self) -> None: releases, duplicates = updater.parse_releases(self.studio_frame, "Android Studio") @@ -138,6 +170,93 @@ def test_repository_older_beta_rollout_still_fails_closed(self) -> None: with self.assertRaisesRegex(updater.UpdateError, "未找到 beta Emulator 37.2.10"): updater.validate_emulator_repository(releases, older_repository_xml) + def test_absent_beta_is_reported_as_superseded_by_matched_stable(self) -> None: + releases, xml = self._supersession_sources() + + checks = updater.validate_emulator_repository(releases, xml, today=dt.date(2027, 1, 1)) + + self.assertEqual({"channel": "stable", "version": "37.2.12", "status": "matched"}, checks[0]) + beta = checks[1] + self.assertEqual("37.2.11", beta["version"]) + self.assertEqual("beta-superseded-by-stable", beta["status"]) + self.assertEqual("stable", beta["repository_channel"]) + self.assertEqual("37.2.12", beta["repository_version"]) + self.assertEqual("2026-10-01", beta["archive_release_date"]) + self.assertEqual("2026-10-01", beta["archive_stable_release_date"]) + self.assertIn("metadata was not matched", beta["warning"]) + self.assertIn("not archive-newer rollout-lag tolerance", beta["warning"]) + + def test_supersession_requires_independently_matched_newer_stable(self) -> None: + releases, xml = self._supersession_sources() + stable, beta = releases[:2] + cases = { + "stable older than beta": ([stable, replace(beta, name="Android Emulator (37.2.13) Beta")], xml), + "same version": ([stable, replace(beta, name="Android Emulator (37.2.12) Beta")], xml), + "beta published later": ([stable, replace(beta, date_iso="2026-10-02")], xml), + "stable absent from archive": ([beta], xml), + "stable only repository-newer": (releases, xml.replace("12", "13")), + "only higher channel available": (releases, xml.replace('ref="channel-0"', 'ref="channel-2"')), + } + for case, (candidates, repository) in cases.items(): + with self.subTest(case=case), self.assertRaisesRegex(updater.UpdateError, "未找到"): + updater.validate_emulator_repository(candidates, repository) + + def test_existing_older_beta_package_does_not_use_stable_fallback(self) -> None: + releases, xml = self._supersession_sources() + old_beta = next(r for r in releases[2:] if r.channel == "beta") + xml = xml.replace('', self._repository_package(old_beta, "channel-1") + '') + + with self.assertRaisesRegex(updater.UpdateError, "未找到 beta Emulator 37.2.11"): + updater.validate_emulator_repository(releases, xml) + + def test_exact_beta_match_and_mismatches_take_priority_over_supersession(self) -> None: + releases, xml = self._supersession_sources() + beta = releases[1] + beta_package = self._repository_package(beta, "channel-1") + exact_xml = xml.replace('', beta_package + '') + checks = updater.validate_emulator_repository(releases, exact_xml) + self.assertEqual({"channel": "beta", "version": "37.2.11", "status": "matched"}, checks[1]) + for corrupted_package in ( + beta_package.replace(beta.downloads[0].filename, "missing.zip"), + beta_package.replace(beta.downloads[0].size.split()[0], "1"), + ): + with self.subTest(package=corrupted_package[:100]), self.assertRaises(updater.UpdateError): + updater.validate_emulator_repository( + releases, xml.replace('', corrupted_package + ''), + ) + + def test_stable_download_mismatches_still_fail_before_supersession(self) -> None: + releases, xml = self._supersession_sources() + stable = releases[0] + for corrupted_xml in ( + xml.replace(stable.downloads[0].filename, "missing.zip"), + xml.replace(stable.downloads[0].size.split()[0], "1"), + ): + with self.subTest(xml=corrupted_xml[:100]), self.assertRaises(updater.UpdateError): + updater.validate_emulator_repository(releases, corrupted_xml) + + def test_incomplete_beta_entry_is_not_treated_as_absent(self) -> None: + releases, xml = self._supersession_sources() + beta_package = self._repository_package(releases[1], "channel-1") + incomplete_package = beta_package[:beta_package.index('')] + '' + incomplete_xml = xml.replace('', incomplete_package + '') + for invalid_xml in (incomplete_xml, ''): + with self.subTest(xml=invalid_xml[:100]), self.assertRaises(updater.UpdateError): + updater.validate_emulator_repository(releases, invalid_xml) + + def test_superseded_beta_keeps_archive_download_validation(self) -> None: + releases, _ = self._supersession_sources() + beta = releases[1] + for invalid_download in ( + replace(beta.downloads[0], url="https://example.invalid/emulator.zip"), + replace(beta.downloads[0], checksum=""), + replace(beta.downloads[0], size=""), + ): + invalid_beta = replace(beta, downloads=(invalid_download, *beta.downloads[1:])) + frame = updater.render_releases("emulator", [releases[0], invalid_beta]) + with self.subTest(download=invalid_download), self.assertRaises(updater.UpdateError): + updater.parse_releases(frame, "Android Emulator", accept_all_devsite_expandables=True) + def test_download_validation_rejects_untrusted_host(self) -> None: download = updater.Download( platform="Linux", @@ -261,6 +380,29 @@ def test_bootstrap_then_write_is_idempotent(self) -> None: self.assertIn("warning", stale["repository_cross_validation"][1]) self.assertEqual(snapshot, {name: (site_dir / name).read_bytes() for name in updater.TARGET_FILES}) + # Supersession must allow a real page update and still report on a + # subsequent no-change run, without altering the write allowlist. + releases, xml = self._supersession_sources() + frame = updater.render_releases("emulator", releases).replace( + '