Lukas Anda
02/21/2024, 9:07 AM@Preview
in androidMain module? Even though I specify in my build.gradle
in the android
block this:
sourceSets["main"].apply {
manifest.srcFile("src/androidMain/AndroidManifest.xml")
resources.srcDirs("src/commonMain/composeResources")
}
it still gives an exception: org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: values/strings.xml
Please note, that it works as it should when I launch the app on AndroidLukas Anda
02/21/2024, 9:39 AMDima Avdeev
02/21/2024, 9:48 AMDima Avdeev
02/21/2024, 9:53 AMLukas Anda
02/21/2024, 9:54 AMDima Avdeev
02/21/2024, 9:55 AMLukas Anda
02/21/2024, 9:57 AMimplementation(compose.preview)
implementation(compose.uiTooling)
as an android dependency (for the previews to even show since the compose-multiplatform preview didn't even make the preview start)
and I have my previews in the androidMain/kotlin folder
my AS version is: Android Studio Hedgehog | 2023.1.1 Patch 2
my compose multiplatform version: 1.6.0-rc01Dima Avdeev
02/21/2024, 10:11 AMLukas Anda
02/21/2024, 10:13 AMDima Avdeev
02/21/2024, 10:57 AMLukas Anda
02/21/2024, 10:59 AM