Multi-Dex Support
If you're using Multi-Dex and our SDK, we recommend updating your Multi-Dex configuration:
app/build.gradle
Copied
release {
multiDexKeepProguard file('multidex-config.pro')
}
Then add to multidex-config.pro
the following lines:
Copied
-keep class io.sentry.android.core.SentryAndroidOptions
-keep class io.sentry.android.ndk.SentryNdk
If you experience issues like Could not find class
on devices running the Dalvik VM
, you may expand the above rules to keep the necessary classes in the main dex file.
- Package:
- maven:io.sentry:sentry-android
- Version:
- 7.13.0
- Repository:
- https://github.com/getsentry/sentry-java