From a476538701ed6dfbf52d4a26e42fa5a8d7910289 Mon Sep 17 00:00:00 2001 From: markushi Date: Mon, 4 Aug 2025 11:51:46 +0200 Subject: [PATCH 1/3] fix(sqlite): Fix abstract method error --- CHANGELOG.md | 1 + gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d7a68f409c..89714a8592c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Deduplicate battery breadcrumbs ([#4561](https://github.com/getsentry/sentry-java/pull/4561)) - Remove unused method in ManifestMetadataReader ([#4585](https://github.com/getsentry/sentry-java/pull/4585)) - Have single `NetworkCallback` registered at a time to reduce IPC calls ([#4562](https://github.com/getsentry/sentry-java/pull/4562)) +- Fix abstract method error in `SentrySupportSQLiteDatabase` ([#4596](https://github.com/getsentry/sentry-java/pull/4596)) ## 8.18.0 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d88dd71e208..4379c63d615 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -79,7 +79,7 @@ androidx-lifecycle-common-java8 = { module = "androidx.lifecycle:lifecycle-commo androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "androidxLifecycle" } androidx-navigation-runtime = { module = "androidx.navigation:navigation-runtime", version.ref = "androidxNavigation" } androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "androidxNavigation" } -androidx-sqlite = { module = "androidx.sqlite:sqlite", version = "2.3.1" } +androidx-sqlite = { module = "androidx.sqlite:sqlite", version = "2.5.2" } androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version = "1.2.1" } coil-compose = { module = "io.coil-kt:coil-compose", version = "2.6.0" } commons-compress = {module = "org.apache.commons:commons-compress", version = "1.25.0"} From c958fcb280980e50780771c9e332c55344bcdaa7 Mon Sep 17 00:00:00 2001 From: Markus Hintersteiner Date: Mon, 4 Aug 2025 11:55:14 +0200 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89714a8592c..393d94becc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ - Deduplicate battery breadcrumbs ([#4561](https://github.com/getsentry/sentry-java/pull/4561)) - Remove unused method in ManifestMetadataReader ([#4585](https://github.com/getsentry/sentry-java/pull/4585)) - Have single `NetworkCallback` registered at a time to reduce IPC calls ([#4562](https://github.com/getsentry/sentry-java/pull/4562)) -- Fix abstract method error in `SentrySupportSQLiteDatabase` ([#4596](https://github.com/getsentry/sentry-java/pull/4596)) +- Fix abstract method error in `SentrySupportSQLiteDatabase` ([#4597](https://github.com/getsentry/sentry-java/pull/4597)) ## 8.18.0 From b69c812b0e196c54686dfbee29174cf1a3ad4d26 Mon Sep 17 00:00:00 2001 From: markushi Date: Tue, 5 Aug 2025 09:43:39 +0200 Subject: [PATCH 3/3] Suppress metadata version checks --- sentry-android-sqlite/build.gradle.kts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sentry-android-sqlite/build.gradle.kts b/sentry-android-sqlite/build.gradle.kts index 434841f6c31..2c0908bd4fa 100644 --- a/sentry-android-sqlite/build.gradle.kts +++ b/sentry-android-sqlite/build.gradle.kts @@ -54,7 +54,14 @@ android { } } -kotlin { explicitApi() } +kotlin { + explicitApi() + compilerOptions { + // skip metadata version check, as androidx.sqlite:sqlite is compiled against a newer version of + // Kotlin + freeCompilerArgs.add("-Xskip-metadata-version-check") + } +} dependencies { api(projects.sentry)