If you have obfuscated your code and want to monitor crashes, you will be required to upload the ProGuard or DexGuard mapping files. Splunk AppDynamics requires the mapping file for the application to produce human-readable stack traces for crash snapshots. For details on the importance of snapshots, see Get Human-Readable Crash Snapshots.
DexGuard is built on ProGuard, so the Controller UI and some of the REST API for uploading mapping files will refer to ProGuard for both ProGuard and DexGuard files.
This page describes the requirements, the available methods, and instructions to manually upload the mapping files.
We recommend you set up automatic uploading of the ProGuard or DexGuard mapping files using Gradle and your build.gradle
file.
Requirements
If you update your application, you are required to upload the new version of the mapping file.
To manually upload the mapping files, you are required to associate the mapping file with the correct version of the application by providing the following:
Upload Methods
You can then either upload the mapping file using the Upload Missing ProGuard Mappings dialog in the Controller UI or use a special REST API. Perform the upload separately for each ProGuard mapping file that you are providing. You can also check your uploads with a separate REST API. See Upload ProGuard Mappings.