getsentry / getsentry/sentry-java

Error: Sentry SDK has detected a mix of versions.

Ouverte
#5,105 7 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Android Bug Errors
Langage dominant
Kotlin
Étoiles
1.4k
Forks
478
Merge moyen
2 j 23 h
PR mergées (30 j)
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)

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.