updating-android-sdk
Skill by flutter
Upgrades Flutter's Android SDK dependency to a new Android API or preview release and uploads the packages to CIPD. Built for Flutter engineers who need to pick up a new Android version or upload Android SDK packages.
Install updating-android-sdk
Built from the published package, never by AI.
git clone --depth 1 https://github.com/flutter/flutter /tmp/flutter && mkdir -p ~/.claude/skills && cp -r /tmp/flutter/.agents/skills/updating-android-sdk ~/.claude/skills/updating-android-sdkRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/flutter/flutter /tmp/flutter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/flutter/.agents/skills/updating-android-sdk ~/.gemini/antigravity-cli/skills/updating-android-sdkAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install updating-android-sdk in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The updating-android-sdk skill guides an AI assistant through upgrading Flutter's Android SDK dependency to a new Android API version, including preview and canary releases. It edits the packages.txt file, checks that a proposed CIPD version tag is unused, and runs create_cipd_packages.sh to package and upload SDK binaries for macOS, Linux, and Windows. It also explains how to verify the uploads with cipd describe.
The skill is written for engineers on the Flutter team who need to update the Android SDK packages in CIPD. It covers permission checks, using sdkmanager to confirm exact package names such as platforms;android-37.0, and troubleshooting for common failures. Because CIPD tags are immutable, each retry needs a new version tag.
Written from the project's SKILL.md and checked against it.
What it can do
- Update packages.txtSets the Android SDK packages and versions that the upload script reads.
- Check tag uniquenessUses cipd describe to confirm a version tag has not already been registered.
- Run upload scriptRuns create_cipd_packages.sh to package and upload SDK archives to CIPD.
- Verify uploadsChecks each platform package with cipd describe for a valid Instance ID.
- Check CIPD write accessRuns cipd acl-check on the flutter/android/sdk/all/ prefix before uploading.
- Troubleshoot failuresGives steps for permission, package resolution, interrupted upload and missing cmdline-tools errors.
What you need
- depot_tools, which provides the cipd CLI
- Write access to the flutter/android/sdk/all/ CIPD prefix (flutter-cipd-writers role)
- A local checkout with src/flutter/tools/android_sdk
- sdkmanager and an Android SDK root containing cmdline-tools/latest/bin/sdkmanager
Try asking
- Upgrade our Android SDK packages to Android 37 and upload them to CIPD
- Check whether CIPD tag 37v1 is already used for the Android SDK
- Verify my Android SDK CIPD upload for macOS, Linux and Windows
Good to know
- CIPD uploads cannot be overwritten and tags are immutable.
- Write access requires the flutter-cipd-writers role.
- Refers to an internal LuCI playbook guide for removing tags.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/updating-android-sdk/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to updating-android-sdk
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
updating-android-sdk: common questions
Which platforms does the Android SDK upload cover?
The script fetches packages for linux, macosx (amd64 and arm64), and windows. The verification step checks the mac-arm64, mac-amd64, linux-amd64 and windows-amd64 CIPD packages.
Can a failed CIPD upload be overwritten?
No. The source says CIPD uploads are final and cannot be overwritten, so a retry must use a new version tag such as v2.
What if sdkmanager cannot find a package?
Run sdkmanager --list --include_obsolete to see published package names, then correct the exact string in packages.txt, such as platforms;android-37.0 instead of platforms;android-37.
How do I install updating-android-sdk?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is updating-android-sdk free?
The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.
Is updating-android-sdk safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to updating-android-sdk?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
