Gradle Version
8.13
AGP Version
8.9.1
Code Minifier/Optimizer
None
Version
5.3.0
Sentry SDK Version
8.8.0
Steps to Reproduce
Apply Sentry Gradle Plugin in app module
Use Room dependency 2.7.0 and higher
Build app and try to write entity to Room
Possible workaround:
Put following code to apps build.gradle.kts:
dependencies {
implementation("androidx.sqlite:sqlite:2.5.0") {
exclude(group = "io.sentry", module = "sentry-android-sqlite")
}
implementation("androidx.sqlite:sqlite-ktx:2.5.0") {
exclude(group = "io.sentry", module = "sentry-android-sqlite")
}
}
configurations.configureEach {
resolutionStrategy {
force("androidx.sqlite:sqlite:2.5.0")
force("androidx.sqlite:sqlite-ktx:2.5.0")
}
}
Expected Result
Sentry gradle plugin works with latest stable version of Room.
Actual Result
Room returns error with
Room: java.lang.AbstractMethodError: abstract method "void androidx.sqlite.db.SupportSQLiteDatabase.beginTransactionReadOnly()"
👍 React with 👍 1ChristophKaser