Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ If you don't obfuscate your build, the plugin won't upload debug symbols. Additi
If you have ProGuard (`minifyEnabled`) enabled, you must upload Android Proguard/R8 mapping files. You have two options:

1. **Use the Sentry Android Gradle Plugin (Recommended)**

After installing the [Sentry Android Gradle Plugin](/platforms/android/configuration/gradle/), set `autoInstallation` to `false` in your `app/build.gradle` file:

```groovy {filename: app/build.gradle}
Expand All @@ -92,13 +92,13 @@ If you have ProGuard (`minifyEnabled`) enabled, you must upload Android Proguard
}
}
```

This is necessary because Sentry Flutter already ships with a compatible Sentry Android SDK, so we need to avoid conflicts.

Follow the [Android Gradle Plugin guide](/platforms/android/configuration/gradle/#proguardr8--dexguard) to complete the ProGuard mapping setup.

2. **Use the Sentry CLI**

Alternatively, you can use the [Sentry CLI](/cli/dif/#uploading-files) to manually upload mapping files.

<Alert>
Expand Down