import dev.gitlive.firebase.storage.Data
...
fun getData(): Data {
...
}
and I am trying to call it from a androidApp (from compose):
Button(
onClick = {
val data = getData()
...
}
)
but this gives me an error: Cannot access class 'dev.gitlive.firebase.storage.Data'. Check your module classpath for missing or conflicting dependencies..
I am doing just this in my :shared:build.gradle.kts:
I have a function in
commonMain
:and I am trying to call it from a
androidApp
(from compose):but this gives me an error:
Cannot access class 'dev.gitlive.firebase.storage.Data'. Check your module classpath for missing or conflicting dependencies.
.I am doing just this in my
:shared:build.gradle.kts
:I tried in
commonMain
:but that basically tells me that type
StorageData
anddev.gitlive.firebase.storage.Data
are not the same inandroidApp
.Am I doing something wrong? Or is it an issue with the library?