Upload Debug Symbols
Learn more about how to upload debug symbols in Sentry Kotlin Multiplatform.
To symbolicate your stack traces, you need to provide debug information to Sentry. The symbolication process unscrambles the stack traces to reveal the function, file names, and line numbers of the crash.
For Apple applications please follow the iOS documentation on Uploading Debug Symbols to set up debug symbols upload.
To upload ProGuard mapping files or Native debug bymbols via Gradle you need to install the Sentry Android Gradle plugin:
androidApp/build.gradle.kts
Copied
plugins {
id("com.android.application")
id("io.sentry.android.gradle") version "4.13.0"
}
// Prevent Sentry dependencies from being included in the Android app through the AGP.
sentry {
autoInstallation {
enabled.set(false)
}
}
Learn more in the Sentry Gradle Plugin docs for ProGuard/R8 & DexGuard.
You can find more information in the Sentry Gradle Plugin docs for Native Debug Symbols and Sources.
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").