07-20-2023, 02:53 PM
The correct way to fix this issue would be simply updating to **Room v2.4.3 or higher**.
Workaround
----------
If you're running on an older version of Room, one that uses an old version of the `kotlinx-metadata-jvm` library which doesn't understand 1.5.x metadata, a simple workaround would be adding the following line to your `build.gradle`:
kapt "org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.5.0"
Source:
Workaround
----------
If you're running on an older version of Room, one that uses an old version of the `kotlinx-metadata-jvm` library which doesn't understand 1.5.x metadata, a simple workaround would be adding the following line to your `build.gradle`:
kapt "org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.5.0"
Source:
[To see links please register here]