Android Debugging
rcosteira79/android-skills
Android and KMP debugging techniques for crashes, ANRs, memory leaks, R8 traces, Gradle failures and Compose recomposition, built on finding the root cause first.
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.
$ npx skills add dotnet/skills --skill android-tombstone-symbolication -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dotnet/skills android-tombstone-symbolication --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/dotnet/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/dotnet-diag/skills/android-tombstone-symbolication .claude/skills/android-tombstone-symbolication && 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-tombstone-symbolication" agent skill from https://github.com/dotnet/skills/tree/main/plugins/dotnet-diag/skills/android-tombstone-symbolication into .claude/skills/android-tombstone-symbolication/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-tombstone-symbolication", 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/dotnet/skills/tree/main/plugins/dotnet-diag/skills/android-tombstone-symbolicationType 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 dotnet/skills --skill android-tombstone-symbolication -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dotnet/skills android-tombstone-symbolication --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dotnet/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/dotnet-diag/skills/android-tombstone-symbolication .agents/skills/android-tombstone-symbolication && 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-tombstone-symbolication" agent skill from https://github.com/dotnet/skills/tree/main/plugins/dotnet-diag/skills/android-tombstone-symbolication into .agents/skills/android-tombstone-symbolication/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-tombstone-symbolication", 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 dotnet/skills --skill android-tombstone-symbolication -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dotnet/skills android-tombstone-symbolication --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dotnet/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/dotnet-diag/skills/android-tombstone-symbolication .cursor/skills/android-tombstone-symbolication && 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-tombstone-symbolication" agent skill from https://github.com/dotnet/skills/tree/main/plugins/dotnet-diag/skills/android-tombstone-symbolication into .cursor/skills/android-tombstone-symbolication/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-tombstone-symbolication", 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/dotnet/skills.git --path plugins/dotnet-diag/skills/android-tombstone-symbolication--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 dotnet/skills --skill android-tombstone-symbolication -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dotnet/skills android-tombstone-symbolication --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dotnet/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/dotnet-diag/skills/android-tombstone-symbolication .gemini/skills/android-tombstone-symbolication && 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-tombstone-symbolication" agent skill from https://github.com/dotnet/skills/tree/main/plugins/dotnet-diag/skills/android-tombstone-symbolication into .gemini/skills/android-tombstone-symbolication/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-tombstone-symbolication", 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 dotnet/skills android-tombstone-symbolicationInstalls 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 dotnet/skills --skill android-tombstone-symbolication -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dotnet/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/dotnet-diag/skills/android-tombstone-symbolication .github/skills/android-tombstone-symbolication && 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-tombstone-symbolication" agent skill from https://github.com/dotnet/skills/tree/main/plugins/dotnet-diag/skills/android-tombstone-symbolication into .github/skills/android-tombstone-symbolication/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-tombstone-symbolication", 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 dotnet/skills --skill android-tombstone-symbolication -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dotnet/skills android-tombstone-symbolication --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dotnet/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/dotnet-diag/skills/android-tombstone-symbolication .opencode/skills/android-tombstone-symbolication && 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-tombstone-symbolication" agent skill from https://github.com/dotnet/skills/tree/main/plugins/dotnet-diag/skills/android-tombstone-symbolication into .opencode/skills/android-tombstone-symbolication/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-tombstone-symbolication", 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-tombstone-symbolicationResolves native crash frames from .NET Android tombstones to function names, source files and line numbers using BuildIds, Microsoft's symbol server and llvm-symbolizer.
The skill takes a tombstone file or logcat crash output, extracts each backtrace frame's number, library-relative PC offset, library name and BuildId, and symbolicates all threads by default because background threads often hold useful .NET frames. A bundled PowerShell script, Symbolicate-Tombstone.ps1, detects frame lines with or without a backtrace header and strips logcat prefixes; if parsing fails, the agent falls back to manual extraction.
It filters to .NET runtime libraries (libmonosgen-2.0.so for Mono, libcoreclr.so for CoreCLR and the libSystem native components), skips Android system libraries unless asked, and notes that NativeAOT apps link the runtime into the app binary and need the app's own symbols. Logcat tombstones often lack BuildIds, which can be recovered with readelf over adb, CI artifacts or the runtime NuGet package. It is not for managed exceptions, pure Java or Kotlin crashes, or iOS logs.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a660de8. 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.
Ships 1 file in scripts/ (PowerShell), which the agent can run.
Shell commands in SKILL.md call:
adbcurlpwshbrewaptxcrunFrom 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:
msdl.microsoft.comAlso links to:
github.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 Tombstone Symbolication loads about 2.1k tokens when it runs. Until then it costs about 197 tokens; SKILL.md has 785 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); the scripts in this folder are not scanned.
The full file from dotnet/skills at commit a660de8, republished under its MIT licence (© dotnet). 785 words, ~2,051 tokens.
.claude/skills/android-tombstone-symbolication/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Resolves native backtrace frames from .NET Android app crashes (MAUI, Xamarin, Mono) to function names, source files, and line numbers using ELF BuildIds and Microsoft's symbol server.
Inputs: Tombstone file or logcat crash output, llvm-symbolizer (from Android NDK or any LLVM 14+ toolchain), internet access for symbol downloads.
Do not use when: The crash is a managed .NET exception (visible in logcat with a managed stack trace), the crashing library is not a .NET component (e.g., libart.so), or the tombstone is from iOS.
Each backtrace frame has this format:
#NN pc OFFSET /path/to/library.so (optional_symbol+0xNN) (BuildId: HEXSTRING)Extract: frame number, PC offset (hex, already library-relative), library name, and BuildId (32–40 hex chars).
Symbolicate all threads by default (background threads like GC/finalizer often have useful .NET frames). The crashing thread's backtrace is listed first; additional threads appear after --- --- --- markers.
Format notes:
#NN pc frame lines with or without a backtrace: header, and strips logcat timestamp/tag prefixes automatically.adb shell readelf -n, CI build artifacts, or the .NET runtime NuGet package.#1 pc into issue links — replace org/repo#N pc with #N pc before saving to a file.#NN pc OFFSET library.so (BuildId: HEX) tuples.Filter frames to .NET runtime libraries:
| Library | Runtime |
|---|---|
libmonosgen-2.0.so | Mono (MAUI, Xamarin, interpreter) |
libcoreclr.so | CoreCLR (JIT mode) |
libSystem.*.so | .NET BCL native components (Native, Globalization.Native, IO.Compression.Native, Security.Cryptography.Native.OpenSsl, Net.Security.Native) |
NativeAOT: No libcoreclr.so or libmonosgen-2.0.so — the runtime is statically linked into the app binary (e.g., libMyApp.so). The libSystem.*.so BCL libraries remain separate and can be symbolicated via the symbol server. For the app binary itself, you need the app's own debug symbols.
Skip libc.so, libart.so, and other Android system libraries unless the user specifically asks.
For each unique .NET BuildId, download debug symbols:
https://msdl.microsoft.com/download/symbols/_.debug/elf-buildid-sym-<BUILDID>/_.debugcurl -sL "https://msdl.microsoft.com/download/symbols/_.debug/elf-buildid-sym-1eb39fc72918c7c6c0c610b79eb3d3d47b2f81be/_.debug" \
-o libmonosgen-2.0.so.debugVerify with file libmonosgen-2.0.so.debug — should show ELF 64-bit ... with debug_info, not stripped. If the download returns 404 or HTML, symbols are not published for that build. Do not add or subtract library base addresses — offsets in tombstones are already library-relative.
llvm-symbolizer --obj=libmonosgen-2.0.so.debug -f -C 0x222098Output:
ves_icall_System_Environment_FailFast
/__w/1/s/src/runtime/src/mono/mono/metadata/icall.c:6244The /__w/1/s/ prefix is the CI workspace root — the meaningful path starts at src/runtime/, mapping to dotnet/dotnet VMR.
Combine original frame numbers with resolved function names and source locations:
#00 libc.so abort+164
#01 libmonosgen-2.0.so ves_icall_System_Environment_FailFast (mono/metadata/icall.c:6244)
#02 libmonosgen-2.0.so do_icall (mono/mini/interp.c:2457)
#03 libmonosgen-2.0.so mono_interp_exec_method (mono/mini/interp.c)For unresolved frames (??), keep the original line with BuildId and PC offset.
scripts/Symbolicate-Tombstone.ps1 automates the full workflow:
pwsh scripts/Symbolicate-Tombstone.ps1 -TombstoneFile tombstone_01.txt -LlvmSymbolizer llvm-symbolizerFlags: -CrashingThreadOnly (limit to crashing thread), -OutputFile path (write to file), -ParseOnly (report libraries/BuildIds/URLs without downloading), -SkipVersionLookup (skip runtime version identification).
Check the Android NDK first: $ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/*/bin/llvm-symbolizer or $ANDROID_HOME/ndk/*/toolchains/llvm/prebuilt/*/bin/llvm-symbolizer. Also available via brew install llvm, apt install llvm, or xcrun --find llvm-symbolizer on macOS.
If unavailable, complete steps 1–3 and present the download commands and llvm-symbolizer commands for the user to run. Do not spend time installing LLVM.
CI source paths use these prefixes:
| Path prefix | Maps to |
|---|---|
/__w/1/s/src/runtime/ | src/runtime/ in dotnet/dotnet VMR |
/__w/1/s/src/mono/ | src/mono/ in the VMR (older builds) |
/__w/1/s/ | VMR root |
The script identifies the exact .NET runtime version by matching BuildIds against locally-installed runtime packs. It searches: SDK packs ($DOTNET_ROOT/packs/), NuGet cache (~/.nuget/packages/), and NuGet.org as an online fallback. When found, it extracts the version and source commit from the .nuspec <repository commit="..." /> element. Pass -SkipVersionLookup to disable. Requires llvm-readelf (auto-discovered from the NDK).
file <debug-file> shows ELF ... with debug_info, not stripped??)mono/metadata/, mono/mini/)-ParseOnly, present manual commands. Do not install LLVM.adb shell readelf -n /path/to/lib.so, CI build artifacts, or the runtime NuGet package (~/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.android-arm64/<version>/). Prefer pulling raw tombstone files (adb shell cat /data/tombstones/tombstone_XX) which always include BuildIds..so/.so.dbg in build artifacts or the NuGet runtime pack..so in the tombstone — runtime is in the app binary. libSystem.*.so BCL libraries still work with the symbol server; the app binary needs its own debug symbols.© dotnet, MIT. 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 (scripts) in plugins/dotnet-diag/skills/android-tombstone-symbolication of dotnet/skills.
Open the folder on GitHubat commit a660de8
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in dotnet/skills, which our catalogue first saw on October 7, 2026.
Android Tombstone Symbolication 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 Tombstone Symbolication this skilldotnet/skills | 5.6k | 1 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Android Debuggingrcosteira79/android-skills | 151 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Android Hidden API and R8 Checkgkd-kit/gkd | 43k | — | ~1.5k | Automated safety check: Pass | GPL-3.0 | |
| Coding Stylesk2andy/candy-browser | 488 | — | ~548 | Automated safety check: Pass | MPL-2.0 | |
| Maui AI DebuggingRedth/Maui.Gtk | 101 | — | ~4.1k | Automated safety check: Pass | MIT | |
| Inspect Network TrafficHedvigInsurance/android | 154 | — | ~756 | Automated safety check: Pass | AGPL-3.0 |
rcosteira79/android-skills
Android and KMP debugging techniques for crashes, ANRs, memory leaks, R8 traces, Gradle failures and Compose recomposition, built on finding the root cause first.
gkd-kit/gkd
Checks whether Android hidden-API implementations and system callbacks survive R8 minification, and diagnoses Release-only failures such as AbstractMethodError.
sk2andy/candy-browser
Apply Candy Browser's project-specific Kotlin, Jetpack Compose, Android/WebView, testing, and generator conventions.
Redth/Maui.Gtk
End-to-end workflow for building, deploying, inspecting, and debugging .NET MAUI and MAUI Blazor Hybrid apps as an AI agent.
HedvigInsurance/android
Read the HTTP and GraphQL calls a debug build of the Android app made, with request and response bodies, status codes, timings and errors, over adb.
davidortinau/maui-skills
WORKFLOW SKILL - Guide for migrating Xamarin.iOS, Xamarin.Mac, and Xamarin.tvOS native apps to .NET for iOS, .NET for macOS, and .NET for tvOS.
dotnet/skills
Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server.
dotnet/skills
Scans C# and .NET code for about 50 performance anti-patterns and reports prioritized findings with concrete fixes, at a scan depth you choose.
dotnet/skills
Statically pairs source files with test files to list code that no test references, using Roslyn for C# or tree-sitter for many languages, with no build.
dotnet/skills
Activate this skill when BenchmarkDotNet (BDN) is involved in the task — creating, running, configuring, or reviewing BDN benchmarks.
dotnet/skills
Makes .NET projects compatible with Native AOT and trimming by resolving IL trim and AOT analyzer warnings through annotations rather than suppressions.
dotnet/skills
Configures automatic crash dumps or captures dumps from running processes for modern .NET apps on Linux, macOS and Windows, including Docker and Kubernetes.
Categories
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. NET frames.ps1, detects frame lines with or without a backtrace header and strips logcat prefixes; if parsing fails, the agent falls back to manual extraction.
Android Tombstone Symbolication fits situations like: triaging a .NET MAUI or Mono Android app crash from a tombstone; resolving frames in libmonosgen-2.0.so or libcoreclr.so to runtime source; investigating SIGABRT or SIGSEGV signals that come from the .NET runtime on Android.
Run `npx skills add dotnet/skills --skill android-tombstone-symbolication -a claude-code`. Or copy the skill folder (plugins/dotnet-diag/skills/android-tombstone-symbolication in dotnet/skills) into .claude/skills/android-tombstone-symbolication in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dotnet/skills --skill android-tombstone-symbolication -a codex`. Or copy the skill folder (plugins/dotnet-diag/skills/android-tombstone-symbolication in dotnet/skills) into .agents/skills/android-tombstone-symbolication 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 dotnet/skills --skill android-tombstone-symbolication -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-tombstone-symbolication, .gemini/skills/android-tombstone-symbolication, .github/skills/android-tombstone-symbolication and .opencode/skills/android-tombstone-symbolication in your project.
Going by SKILL.md and its folder, Android Tombstone Symbolication needs PowerShell for the scripts in its folder and the command-line tools its instructions call (adb, curl, pwsh, brew, apt and xcrun). Our summary lists: PowerShell to run Symbolicate-Tombstone.ps1; llvm-symbolizer from the Android NDK or an LLVM 14+ toolchain; Internet access to download symbols.
SKILL.md names 2 domains. In commands or code: msdl.microsoft.com; the agent is likely to contact it when it follows the instructions. As links in the text: github.com. 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Android Tombstone Symbolication is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Android Tombstone Symbolication: Android Debugging (rcosteira79/android-skills, 151 stars), Android Hidden API and R8 Check (gkd-kit/gkd, 43k stars), Coding Style (sk2andy/candy-browser, 488 stars) and Maui AI Debugging (Redth/Maui.Gtk, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dotnet (a GitHub organization, an official publisher) maintains it in dotnet/skills, which has 5,576 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 8, 2026.
Source: dotnet/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.