Android Hidden API and R8 Check
gkd-kit/gkd
Checks whether Android hidden-API implementations and system callbacks survive R8 minification, and diagnoses Release-only failures such as AbstractMethodError.
依据 Android 官方「版本」文档完成平台适配:按版本号 N 抓取行为变更(所有应用、 targetSdk=N)、changes/features 子页与探索新功能/API;归纳影响项并落地到 Manifest/Gradle/工具类封装。在用户要求 Android 版本适配、行为变更排查、 targetSdk 升级、新 API 封装或对照…
$ npx skills add afkT/DevUtils --skill android-version-platform-adapt -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install afkT/DevUtils android-version-platform-adapt --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/android-version-platform-adapt .claude/skills/android-version-platform-adapt && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "android-version-platform-adapt" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-version-platform-adapt into .claude/skills/android-version-platform-adapt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-version-platform-adapt", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-version-platform-adaptType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add afkT/DevUtils --skill android-version-platform-adapt -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install afkT/DevUtils android-version-platform-adapt --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.cursor/skills/android-version-platform-adapt .agents/skills/android-version-platform-adapt && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "android-version-platform-adapt" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-version-platform-adapt into .agents/skills/android-version-platform-adapt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-version-platform-adapt", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add afkT/DevUtils --skill android-version-platform-adapt -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install afkT/DevUtils android-version-platform-adapt --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.cursor/skills/android-version-platform-adapt .cursor/skills/android-version-platform-adapt && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "android-version-platform-adapt" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-version-platform-adapt into .cursor/skills/android-version-platform-adapt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-version-platform-adapt", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/afkT/DevUtils.git --path .cursor/skills/android-version-platform-adapt--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add afkT/DevUtils --skill android-version-platform-adapt -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install afkT/DevUtils android-version-platform-adapt --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.cursor/skills/android-version-platform-adapt .gemini/skills/android-version-platform-adapt && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "android-version-platform-adapt" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-version-platform-adapt into .gemini/skills/android-version-platform-adapt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-version-platform-adapt", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install afkT/DevUtils android-version-platform-adaptInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add afkT/DevUtils --skill android-version-platform-adapt -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .github/skills && cp -r skills-src/.cursor/skills/android-version-platform-adapt .github/skills/android-version-platform-adapt && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "android-version-platform-adapt" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-version-platform-adapt into .github/skills/android-version-platform-adapt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-version-platform-adapt", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add afkT/DevUtils --skill android-version-platform-adapt -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install afkT/DevUtils android-version-platform-adapt --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/afkT/DevUtils.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.cursor/skills/android-version-platform-adapt .opencode/skills/android-version-platform-adapt && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "android-version-platform-adapt" agent skill from https://github.com/afkT/DevUtils/tree/master/.cursor/skills/android-version-platform-adapt into .opencode/skills/android-version-platform-adapt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-version-platform-adapt", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
android-version-platform-adapt依据 Android 官方「版本」文档完成平台适配:按版本号 N 抓取行为变更(所有应用、 targetSdk=N)、changes/features 子页与探索新功能/API;归纳影响项并落地到 Manifest/Gradle/工具类封装。在用户要求 Android 版本适配、行为变更排查、 targetSdk 升级、新 API 封装或对照…
Android Version Platform Adapt is an agent skill from afkT/DevUtils. 依据 Android 官方「版本」文档完成平台适配:按版本号 N 抓取行为变更(所有应用、 targetSdk=N)、changes/features 子页与探索新功能/API;归纳影响项并落地到 Manifest/Gradle/工具类封装。在用户要求 Android 版本适配、行为变更排查、 targetSdk 升级、新 API 封装或对照 developer.android.com/about/versions 时使用。
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/reference.md`).
It sits in Mobile, covering Android development. It works with Android. The repository describes itself as: :fire: ( 持续更新,目前含 300+ 工具类 ) DevUtils 是一个 Android 工具库,主要根据不同功能模块,封装快捷使用的工具类及 API 方法调用。该项目尽可能的便于开发人员,快捷、高效开发安全可靠的项目。 The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6022ede. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
developer.android.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Android Version Platform Adapt loads about 1.8k tokens when it runs, and up to ~3.6k if it reads all its reference files. Until then it costs about 61 tokens; SKILL.md has 372 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from afkT/DevUtils at commit 6022ede, republished under its Apache-2.0 licence (© afkT). 372 words, ~1,805 tokens.
.claude/skills/android-version-platform-adapt/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.https://developer.android.com/about/versions/ 下该版本页面及子页(优先 ?hl=zh-cn)。与仓库方法风格:生成或改写 方法体与文档 前,Read 并按 code-method-normalize/SKILL.md 执行。
| 符号 | 当前值(DevUtils) | 说明 |
|---|---|---|
DEVAPP_ROOT | lib/DevApp | Android 平台工具类与版本判断封装的优先落点 |
新增平台 API 封装或行为变更缓解时,先在 {DEVAPP_ROOT} 按领域关键词检索同类 *Utils / *Version*,再决定扩展现有类或新增文件;不要在 SKILL 正文固定依赖某个历史类名。扫描示例、关键词与历史对照入口见 references/reference.md §仓库落点发现。
| 用户表述 | URL 段 versions/{N} | 行为变更(target)页 | 典型 API level |
|---|---|---|---|
| Android 17 | 17 | behavior-changes-17 | 37 |
| Android 16 | 16 | behavior-changes-16 | 36 |
| Android 15 | 15 | behavior-changes-15 | 35 |
17)。VERSION_CODES 常量名以该版 setup-sdk 与 API 参考 为准;写 @RequiresApi 时与 {DEVAPP_ROOT} 下既有版本判断封装或同领域工具类对齐。{N} 换为版本号)| 用途 | URL |
|---|---|
| 版本首页 | https://developer.android.com/about/versions/{N}?hl=zh-cn |
| 行为变更 · 所有应用 | https://developer.android.com/about/versions/{N}/behavior-changes-all?hl=zh-cn |
| 行为变更 · targetSdk={N} | https://developer.android.com/about/versions/{N}/behavior-changes-{N}?hl=zh-cn |
| 探索新功能与 API | https://developer.android.com/about/versions/{N}/features?hl=zh-cn |
| 迁移指南 | https://developer.android.com/about/versions/{N}/migration?hl=zh-cn |
| SDK 设置 | https://developer.android.com/about/versions/{N}/setup-sdk?hl=zh-cn |
| 发布说明 | https://developer.android.com/about/versions/{N}/release-notes?hl=zh-cn |
Android 17 固定示例(与上表一致):
/about/versions/{N}/ 的链接,去重后按 references/reference.md 分类补读。targetSdkVersion 无关)。targetSdkVersion >= N 时强制或默认生效。{DEVAPP_ROOT} 下同领域 *Utils,落点不明确时先用 Glob / 内容检索找相近封装;类级或方法级 <pre> 可链官方页(历史扫描示例见 references/reference.md)。@RequiresApi。targetSdkVersion、compileSdk(build.gradle / versions.gradle)。按顺序执行;每步 WebFetch 对应 URL,摘录:变更名、影响条件、涉及 API/权限、缓解措施、是否需改代码。
.../behavior-changes-all?hl=zh-cn.../behavior-changes-{N}?hl=zh-cnchanges/)/about/versions/{N}/changes/* 逐页 WebFetch。.../changes/non-sdk-{N}.../reference/compat-framework-changes.../features?hl=zh-cnfeatures/).../features/*,逐页 WebFetch(如 Android 17 的 features/contact-picker)。## Android {N} 适配摘要
### 行为变更 · 所有应用
| 变更 | 影响模块/场景 | 建议动作 | 官方锚点 |
|------|---------------|----------|----------|
### 行为变更 · targetSdk {N}+
| 变更 | 影响 | 建议动作 | 官方锚点 |
|------|------|----------|----------|
### 新功能 / API(可选实现)
| 能力 | API/权限 | 仓库落点建议 | 文档 |
|------|----------|--------------|------|
### 测试建议
- [ ] 在 API {level} 模拟器/真机跑核心流程
- [ ] 若升级 targetSdk:复测 1.2 条目 + Play 目标平台要求code-method-normalize。@RequiresApi / {DEVAPP_ROOT} 下既有版本判断封装与 API level 一致;官方链接放在类或方法 <pre> 的 @see <a href="...">。对 {N} 执行链接发现(Agent 可用 shell 或解析 WebFetch 正文):
# 将 17 换成目标 N;输出去重后的 /about/versions/{N}/ 路径
for u in \
"https://developer.android.com/about/versions/{N}?hl=zh-cn" \
"https://developer.android.com/about/versions/{N}/behavior-changes-all?hl=zh-cn" \
"https://developer.android.com/about/versions/{N}/behavior-changes-{N}?hl=zh-cn" \
"https://developer.android.com/about/versions/{N}/features?hl=zh-cn" \
"https://developer.android.com/about/versions/{N}/migration?hl=zh-cn"; do
curl -sL "$u" | grep -oE 'https://developer\.android\.com/about/versions/{N}[^"<> ]+' | sed 's/?hl=zh-cn//;s/?hl=en//'
done | sort -ubehavior-changes-*、changes/*、features/*、reference/*、其它(migration/setup-sdk/release-notes/...)。changes/* 与 features/* 路径,补读后再更新摘要。- [ ] 0. 确认 Android N、API level、是否升 targetSdk
- [ ] 1.1 WebFetch behavior-changes-all
- [ ] 1.2 WebFetch behavior-changes-{N}
- [ ] 1.3 WebFetch 全部 changes/* 子页
- [ ] 1.4 WebFetch non-sdk / compat-framework(若 migration 指向)
- [ ] 2.1 WebFetch features
- [ ] 2.2 WebFetch 全部 features/* 子页
- [ ] 2.3 WebFetch release-notes、migration、setup-sdk(按需)
- [ ] 4. 扫描链接并补读遗漏子页
- [ ] 3.1 输出适配摘要表
- [ ] 3.2 代码:Read code-method-normalize → 实现/修复 → 链官方 URL| 场景 | Skill |
|---|---|
| 平台行为变更、新 API、targetSdk 适配 | 本 Skill |
方法 JavaDoc/KDoc、final、安全返回 | code-method-normalize |
| 新增 Maven 依赖、AndroidX 版本 | project-gradle-central-deps / project-gradle-third-party-version-upgrade |
DataBinding app:binding_* | project-binding-adapter-from-source |
?hl=zh-cn 可能仍部分英文;以正文为准,链接用官方路径。© afkT, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .cursor/skills/android-version-platform-adapt of afkT/DevUtils.
Open the folder on GitHubat commit 6022ede
Android Version Platform Adapt next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Android Version Platform Adapt this skillafkT/DevUtils | 1.6k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Android Hidden API and R8 Checkgkd-kit/gkd | 43k | — | ~1.5k | Automated safety check: Pass | GPL-3.0 | |
| Android API Diffgkd-kit/gkd | 43k | — | ~796 | Automated safety check: Pass | GPL-3.0 | |
| Android Readme Screenshot Studiopermissionlesstech/bitchat-android | 7.7k | — | ~3k | Automated safety check: Pass | GPL-3.0 | |
| Compose Multiplatform Patternsmonta-app/ocpp-emulator | 179 | 5 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Android Tombstone Symbolicationdotnet/skills | 5.6k | 1 repos | ~2.1k | Automated safety check: Pass | MIT |
gkd-kit/gkd
Checks whether Android hidden-API implementations and system callbacks survive R8 minification, and diagnoses Release-only failures such as AbstractMethodError.
gkd-kit/gkd
Looks up Android framework Java and AIDL APIs across versions with the android-api-diff CLI: signatures, availability, source files and hidden-API access code.
permissionlesstech/bitchat-android
Create or refresh polished, high-resolution screenshots of the Bitchat Android app for README and repository showcase use.
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
dotnet/skills
Resolves native crash frames from .NET Android tombstones to function names, source files and line numbers using BuildIds, Microsoft's symbol server and llvm-symbolizer.
Core-Mate/OpenGUI
Installs, configures and runs OpenGUI's backend and Android client from a plain-language request, running the repo's own setup scripts and asking the user only for physical phone steps or secrets.
afkT/DevUtils
统一 Android XML 资源命名:layout、drawable、mipmap、color、values、id 的前缀与 snakecase 规则;把颜色/圆角/描边/状态编码进文件名(bg、border、textcolor…selector)。
afkT/DevUtils
根据用户给出的 Java/Kotlin 工具类或 View 相关源码,设计并实现 androidx.databinding.BindingAdapter。
afkT/DevUtils
对 DevUtils 工程(DEPSROOT=file/gradle、DEPSMANIFEST=file/deps)中定义的第三方库 GAV 依赖做版本查证与升级;结合 Maven Central、Google Maven、Gradle Plugin Portal、 JitPack 与 GitHub Releases/README 交叉校验「最新可用版本」;必要时修正…
afkT/DevUtils
为布局 XML 中的控件默认补全 DevSimple(lib/DevSimple)的 ViewTheme 样式引用: 按控件继承链匹配 ViewTheme.<类名>,ImageView/AppCompatImageView 使用 ViewTheme.ImageView.FITXY,无匹配则用 ViewTheme.View。工作区内优先 Read…
afkT/DevUtils
在需要圆角矩形纯色背景、描边边框时,优先用 DevWidget(io.github.afkt:DevWidgetX)的 dev.widget.ui.round 包替代 shape / layer-list drawable。流程与核心坑在 SKILL,Round 系列 View、R.styleable.DevWidget 中 app:dev 属性及源码对照见…
afkT/DevUtils
需要对话框、弹窗、菜单、加载等待、轻提示(Toast 替代)、应用内通知、底部弹窗、 上下文菜单、全屏/自定义弹层或操作引导时,默认使用 DialogX (com.github.kongzue.DialogX,本工程已依赖)而非系统 AlertDialog/Toast/PopupMenu。
Works with
Categories
依据 Android 官方「版本」文档完成平台适配:按版本号 N 抓取行为变更(所有应用、 targetSdk=N)、changes/features 子页与探索新功能/API;归纳影响项并落地到 Manifest/Gradle/工具类封装。在用户要求 Android 版本适配、行为变更排查、 targetSdk 升级、新 API 封装或对照…. Android Version Platform Adapt is an agent skill from afkT/DevUtils.
Android Version Platform Adapt fits situations like: tasks that involve Android development.
Run `npx skills add afkT/DevUtils --skill android-version-platform-adapt -a claude-code`. Or copy the skill folder (.cursor/skills/android-version-platform-adapt in afkT/DevUtils) into .claude/skills/android-version-platform-adapt in your project. Claude Code loads it when a task matches its description.
Run `npx skills add afkT/DevUtils --skill android-version-platform-adapt -a codex`. Or copy the skill folder (.cursor/skills/android-version-platform-adapt in afkT/DevUtils) into .agents/skills/android-version-platform-adapt in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add afkT/DevUtils --skill android-version-platform-adapt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/android-version-platform-adapt, .gemini/skills/android-version-platform-adapt, .github/skills/android-version-platform-adapt and .opencode/skills/android-version-platform-adapt in your project.
Going by SKILL.md and its folder, Android Version Platform Adapt needs the command-line tools its instructions call (curl).
SKILL.md names 1 domain. In commands or code: developer.android.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Android Version Platform Adapt is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Android Version Platform Adapt: Android Hidden API and R8 Check (gkd-kit/gkd, 43k stars), Android API Diff (gkd-kit/gkd, 43k stars), Android Readme Screenshot Studio (permissionlesstech/bitchat-android, 7.7k stars) and Compose Multiplatform Patterns (monta-app/ocpp-emulator, 179 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
afkT (a GitHub user) maintains it in afkT/DevUtils, which has 1,612 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 2, 2026.
Source: afkT/DevUtils on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.