Hi folks. Using the `ComposeDemo` app, I'm trying ...
# multiplatform
d
Hi folks. Using the
ComposeDemo
app, I'm trying to add a database with the instructions in https://developer.android.com/kotlin/multiplatform/room but I'm having problems with dependencies. Android Studio offered to add various library dependencies and imports. The imports look right, but I have no idea about the dependencies, as I'm really rusty on Multiplatform. Can anyone suggest a way forward? Perhaps there is some documentation I should read? Thanks.
👀 1
c
What’s wrong with the documentation you posted? There are the dependencies needed mentioned. https://developer.android.com/kotlin/multiplatform/room#setting-dependencies
Also it would help to see what issue you are facing. Like the error text or exception or whatever.
Next, there is a github repo mentioned that has samples. https://github.com/android/kotlin-multiplatform-samples/tree/main
Not sure now what else you expect 😅
d
I'm not sure I've put those dependencies in the correct section of the multiplatform build.gradle file.
c
then post your gradle file or check the sampes repo 😉
d
Thanks for the samples link. I'll look in there for understanding.
👍 1