Skip to content
Docs GitHub

proguard

Work with ProGuard/R8 mapping files

Upload ProGuard/R8 mapping files to Sentry

Arguments:

ArgumentDescription
<path...>Paths to ProGuard/R8 mapping files

Options:

OptionDescription
--uuid <uuid>Force a specific UUID instead of computing from file content (only valid with a single file)
--no-uploadCompute and print UUIDs without uploading (dry-run)
--require-oneRequire at least one mapping file (error if none provided)

Compute the UUID for a ProGuard mapping file

Arguments:

ArgumentDescription
<path>Path to the ProGuard mapping file

All commands support --json for machine-readable output and --fields to select specific JSON fields.

Terminal window
# Compute the UUID for a ProGuard/R8 mapping file
sentry proguard uuid ./app/build/outputs/mapping/release/mapping.txt
# Output as JSON (includes the file path)
sentry proguard uuid mapping.txt --json
  • The UUID is deterministically derived from the mapping file contents — identical files always produce the same UUID. This is the same value Sentry uses to associate a mapping with obfuscated Android stack traces.
  • This matches the UUID computed by the legacy sentry-cli proguard uuid command byte-for-byte.