Android StrictMode Probe
Identifies silent Android performance issues like main-thread I/O and memory leaks using StrictMode diagnostic policies.
The Android StrictMode Probe is a specialized diagnostic skill designed to surface 'silent killers' in Android applications—operations like main-thread disk access or resource leaks that ruin user experience without causing immediate crashes. It provides a structured workflow for temporarily injecting StrictMode policies into an app's lifecycle, analyzing Logcat for specific violations such as jank or ANRs, and guiding the developer through fixing these bottlenecks before ensuring a clean removal of the probe code.
Key Features
01Surfaces leaked Activities, Fragments, and unclosed resources
02Provides guided installation and safe cleanup using sentinel comments
03Detects invisible main-thread Disk I/O and network operations
046 GitHub stars
05Includes API-level compatibility checks for various StrictMode methods
06Analyzes Logcat output to pinpoint exact stack traces for violations
Use Cases
01Optimizing cold start performance by finding main-thread I/O in Application.onCreate
02Troubleshooting app 'jank' or UI freezes during scrolling and navigation
03Identifying the root cause of memory creep and Activity leaks across rotations