Everything you ever wanted to know about error handling in Android
summary
Shows how to build a crash‑reporting SDK on Android that hooks the JVM UncaughtExceptionHandler, captures exception and thread stack traces plus device and session metadata, serializes reports to JSON and posts to an HTTP endpoint, and caches to disk when offline so crashes still arrive after restart. Covers manual notify API for handled errors, detection of ANRs and coroutine failures, automatic mapping file uploads via Gradle to deobfuscate ProGuard output, and runtime breadcrumbs for precrash context. Claims ~60% of users uninstall after a crash and demonstrates a production workflow that reduces debugging time.
AI-written summary · about
chapters (7)
- 0:00Intro
- 0:45Crash Reporting SDKs
- 4:08Exception Handler
- 6:44Delivery
- 11:55Obfuscation
- 16:25Metadata
- 20:05Recap
related talks
43mAndroid NDK Crash Reports
29mHow the Android Framework Monitors, Processes, and Triggers ANRs
37mDebugging Android Devices in the Field
24mMake the Most of Android Vitals
33mDebugging: All You Need to Know
40mBeyond Exceptions: Building Resilient Android Apps with S…
31mNDK Crash Handling the what, the where, and the how
14mRoundtable: Ensuring Game Stability: How To Find, Monitor, & Fix Issues With Firebase Crashlytics
