# Diagnosing Android ANRs with Runtime Traces and APM Data

DevFeed: [Diagnosing Android ANRs with Runtime Traces and APM Data](<https://devfeed.tech/articles/demystifying-the-anrs-puzzle-28528.md>)

Original publisher: [Read original article](<https://www.amanjeet.me/demystifying-the-anrs-puzzle/>)

Author: Amanjeet Singh Gurtatta

Published: 2022-01-21T17:52:38Z

Content type: tutorial

Language: en

Sources: [Amanjeet Singh](<https://devfeed.tech/sources/amanjeet-singh.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Application Performance Management (APM)](<https://devfeed.tech/topics/apm.md>), [debug](<https://devfeed.tech/topics/debug.md>), [Traces](<https://devfeed.tech/topics/traces.md>), [Crashlytics](<https://devfeed.tech/topics/crashlytics.md>), [Google Play](<https://devfeed.tech/topics/google-play.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-vitals](<https://devfeed.tech/tags/android-vitals.md>), [anr](<https://devfeed.tech/tags/anr.md>), [apm](<https://devfeed.tech/tags/apm.md>), [crashlytics](<https://devfeed.tech/tags/crashlytics.md>), [debug](<https://devfeed.tech/tags/debug.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [google-play](<https://devfeed.tech/tags/google-play.md>), [mobile-performance](<https://devfeed.tech/tags/mobile-performance.md>), [trace](<https://devfeed.tech/tags/trace.md>)

## AI overview

This article explains why Android Application Not Responding events are difficult to reproduce and diagnose. It describes how the Android runtime responds with SIGQUIT and ANR traces, then introduces approaches APM libraries can use to collect ANR data, including watchdog monitoring.

## Source excerpt

Solving the ANRs Riddle on Android