Basic Android App demoing main causes of ANR and how to utilize ApplicationExitInfo
Slides from droidconSF 2022 talk can be found here https://speakerdeck.com/yhartanto/anr-overview-at-uber-plus-leveraging-applicationexitinfo-api
- Click on any button
- Try to interact with screen - Back Button is a good one
- Wait for ANR dialog to be shown.
- ANR stacktraces will be shown on next app launch
| Basic layout | ANR triggered |
|---|---|
![]() |
![]() |
| Deadlock demo - main held by tid=2 | Deadlock demo - background thread held by tid=1 |
|---|---|
![]() |
![]() |



