Samuel
10/26/2024, 7:40 PM> Could not resolve androidx.lifecycle:lifecycle-viewmodel:2.9.0-alpha05.
Required by:
project :composeApp
> No matching variant of androidx.lifecycle:lifecycle-viewmodel:2.9.0-alpha05 was found. The consumer was configured to find a library for use during 'kotlin-runtime', preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.js.public.package.json' with value 'public-package-json', attribute 'org.jetbrains.kotlin.platform.type' with value 'wasm', attribute 'org.jetbrains.kotlin.wasm.target' with value 'js' but:
- Variant 'androidxSourcesElements':
Replication: https://github.com/SamuelMarks/bug-repo-kmpMario Andhika
10/28/2024, 4:13 AMSamuel
10/29/2024, 11:01 PMruntimeOnly(libs.lifecycle.viewmodel)
Samuel
10/30/2024, 1:27 AMruntimeOnly("org.jetbrains.kotlin:kotlin-reflect:2.1.0-Beta2")
[runtimeOnly(libs.kotlin.reflect)
] to desktopMain
androidMain
, and iosMain
.