Skip to content

Commit 0048b42

Browse files
authored
fix(sqlite): Fix abstract method error (#4597)
* fix(sqlite): Fix abstract method error * Update CHANGELOG.md * Suppress metadata version checks
1 parent d0e5fdc commit 0048b42

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
native <methods>;
2121
}
2222
```
23+
- Fix abstract method error in `SentrySupportSQLiteDatabase` ([#4597](https://github.com/getsentry/sentry-java/pull/4597))
2324

2425
## 8.18.0
2526

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ androidx-lifecycle-common-java8 = { module = "androidx.lifecycle:lifecycle-commo
7979
androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "androidxLifecycle" }
8080
androidx-navigation-runtime = { module = "androidx.navigation:navigation-runtime", version.ref = "androidxNavigation" }
8181
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "androidxNavigation" }
82-
androidx-sqlite = { module = "androidx.sqlite:sqlite", version = "2.3.1" }
82+
androidx-sqlite = { module = "androidx.sqlite:sqlite", version = "2.5.2" }
8383
androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version = "1.2.1" }
8484
coil-compose = { module = "io.coil-kt:coil-compose", version = "2.6.0" }
8585
commons-compress = {module = "org.apache.commons:commons-compress", version = "1.25.0"}

sentry-android-sqlite/build.gradle.kts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,14 @@ android {
5454
}
5555
}
5656

57-
kotlin { explicitApi() }
57+
kotlin {
58+
explicitApi()
59+
compilerOptions {
60+
// skip metadata version check, as androidx.sqlite:sqlite is compiled against a newer version of
61+
// Kotlin
62+
freeCompilerArgs.add("-Xskip-metadata-version-check")
63+
}
64+
}
5865

5966
dependencies {
6067
api(projects.sentry)

0 commit comments

Comments
 (0)