You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
@SebastianFelon But there already is an actual class for Data (and File) in androidMain in storage.kt.
Anyway I solved it for now by doing expect/actual StorageData that is identical to dev.gitlive.firebase.storage.Data in my code and converting to it. But it feels like an issue with the library.
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?
The text was updated successfully, but these errors were encountered: