Skip to content

Error: Sentry SDK has detected a mix of versions. #5105

@QuantumPineapple68

Description

@QuantumPineapple68

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions