Trying to use Bundle in kmp and resolves for js an...
# multiplatform
p
Trying to use Bundle in kmp and resolves for js and jvm but not for Android:
Copy code
e: Unresolved reference 'bundle'.
The error happens right in this import:
Copy code
import androidx.core.bundle.Bundle
---------------------------------------------- Update ---------------------------------------- (Solved): It solved by explicitly adding the dependency in commonMain
Copy code
implementation("org.jetbrains.androidx.core:core-bundle:1.0.0")
1