getsentry / getsentry/sentry-java

Error: Sentry SDK has detected a mix of versions.

Open
#5,105 7 comments 0 reactions 0 assignees View on GitHub
Android Bug Errors
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

The error log : `FATAL EXCEPTION: The Sentry SDK has been configured with mixed versions. Expected maven:io.sentry:sentry-android to match core SDK version 8.32.0 but was 8.31.0`

my libs.versions.toml

```
[versions]
sentryKmp = "0.24.0"
sentryAndroid = "8.31.0"

[libraries]
sentry-kotlin-multiplatform = { module = "io.sentry:sentry-kotlin-multiplatform", version.ref = "sentryKmp" }
sentry-android-core = { module = "io.sentry:sentry-android-core", version.ref = "sentryAndroid" }
sentry-okhttp = { module = "io.sentry:sentry-okhttp", version.ref = "sentryAndroid" }
sentry-android-replay = { module = "io.sentry:sentry-android-replay", version.ref = "sentryAndroid" }
sentry-android = { module = "io.sentry:sentry-android", version.ref = "sentryAndroid" }

```

I've tried both sentryAndroid = "**8.31.0**" and sentryAndroid = "**8.32.0**"
Neither of them works. I do not have conflicting versions in my entire project (used global search to verify)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.