Skip to content

Commit 0fc73ea

Browse files
committed
Fix crash on initialization
java.lang.RuntimeException: cannot find implementation ... at androidx.room.Room.getGeneratedImplementation(Room.java:100)
1 parent efd7855 commit 0fc73ea

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

app/android/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ dependencies {
7676
implementation(libs.androidx.glance.appWidget)
7777
implementation(libs.androidx.glance.glance)
7878
implementation(libs.androidx.glance.material3)
79+
implementation(libs.androidx.work.runtime)
7980

8081
implementation(libs.google.playServicesOssLicenses)
8182

gradle/libs.versions.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ wear = "1.3.0"
5353
wearCompose = "1.5.6"
5454
wearInput = "1.2.0"
5555
wearToolingPreview = "1.0.0"
56+
work = "2.11.1"
5657

5758
[libraries]
5859
android-gradlePlugin = { group = "com.android.tools.build", name = "gradle", version.ref = "androidGradlePlugin" }
@@ -86,6 +87,8 @@ androidx-wear-input = { module = "androidx.wear:wear-input", version.ref = "wear
8687
androidx-wear-tooling-preview = { module = "androidx.wear:wear-tooling-preview", version.ref = "wearToolingPreview" }
8788
androidx-wear-wear = { module = "androidx.wear:wear", version.ref = "wear" }
8889

90+
androidx-work-runtime = { module = "androidx.work:work-runtime", version.ref = "work" }
91+
8992
dependencyGraphGenerator = { module = "com.vanniktech:gradle-dependency-graph-generator-plugin", version.ref = "dependencyGraphGenerator" }
9093

9194
detekt-gradlePlugin = { module = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin", version.ref = "detekt" }

0 commit comments

Comments
 (0)