# Android ANR Analyzer: Find What Froze the Main Thread

> Reads an Android ANR trace and names what blocked the main thread (lock holder, deadlock, disk, network, binder, runBlocking), then fixes your code.

Android ANR Analyzer: Find What Froze the Main Thread is a paid AI agent skill on Agensi by Singgih Rochmad Saputro, in Mobile Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [Singgih Rochmad Saputro](https://www.agensi.io/creators/singgihrs)
- Category: [Mobile Development](https://www.agensi.io/skills/mobile-development)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/android-anr-analyzer-find-what-froze-the-main-thread
- Tags: mobile-development, testing-debugging

## About this skill

An ANR means the main thread did not answer within its deadline: 5 s for input;
10 s (foreground) or 60 s (background) for a broadcast; 20 s (foreground) or 200 s
(background) for a service. The trace is a dump
of every thread at that moment. This skill reads it, finds what the main thread was
stuck on, and turns that into a fix in the app's code.

One of these, as text:

- **Play Console** → Android vitals → ANRs → a cluster → the "main" thread stack
  (copy every thread if the page offers it: a lock holder lives in another thread).
- **A bugreport**: `adb bugreport` → the `FS/data/anr/` files, or the
  `VM TRACES AT LAST ANR` section of the main text file.
- **A device you control**: `adb shell ls /data/anr` then `adb pull /data/anr/<file>`
  (emulators and debuggable or rooted devices).

The ANR reason line (`Subject:`, `Reason:`, or `ANR in ... Reason:` in logcat) helps:
it says whether it was input, a broadcast, a service or a provider.

## Requires

- Python 3.8+

## Known limitations

A trace is one moment: if the main thread is idle or the dump is partial, the skill says so and asks for more traces from the same cluster instead of guessing. Lock holders in another process (binder calls) are not in the app's trace. Native-only (NDK) stacks are shown but not interpreted.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Android ANR Analyzer: Find What Froze the Main Thread skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Android ANR Analyzer: Find What Froze the Main Thread do?

Reads an Android ANR trace and names what blocked the main thread (lock holder, deadlock, disk, network, binder, runBlocking), then fixes your code.

### Which AI agents support Android ANR Analyzer: Find What Froze the Main Thread?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Android ANR Analyzer: Find What Froze the Main Thread?

Connect your AI agent to Agensi through MCP, then ask it to use Android ANR Analyzer: Find What Froze the Main Thread on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
