Deobfuscate an Android crash stack trace
Paste the Java or Kotlin stack trace from Logcat or your crash reporter, open the matching mapping.txt, then choose Retrace stack trace. The result restores original class names, method names, and source locations when they are available in the map. It also accounts for inlined frames and R8 outline call sites.
Find the mapping file for the crashed build
For a local Gradle build, look in app/build/outputs/mapping/<variant>/mapping.txt. Use the mapping from the exact version and build variant that crashed. A different build can reuse the same shortened names for unrelated code.
Read the retraced result
Source line numbers depend on what R8 or ProGuard recorded in the mapping. Frames outside the mapping may stay as they were. Copy the result into your issue tracker or compare it with your project’s source.