last_crash
Get the last app crash from the system DropBox, including full exception header and stack in one call, optionally filtered by package. Use after a crash instead of grepping logcat.
Instructions
Return the most recent app crash from the system DropBox (dumpsys dropbox — JVM/React-Native and native crashes), with the full exception header and stack in one call. Optionally filter to a package. Use this instead of grepping logcat when an app just crashed: DropBox keeps the whole fatal (header + Caused by + frames) together even after it has scrolled out of the logcat ring buffer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. | |
| package | No | Optional package name to filter to (e.g. com.example.app); omit for the most recent crash from any app. |