https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
b

Brian Donovan

11/22/2021, 7:24 PM
Hey all, any ideas why this isn’t importing? This is inside my androidMain
m

MarkRS

11/22/2021, 8:01 PM
If, despite the red, it still builds and runs, I'm getting that too. So, in that case "it doesn't matter" (sort of). My latest guess is that I've got some plugin broken, but I'm not sure of that (either) 😕
b

Brian Donovan

11/23/2021, 2:38 PM
I am able to import on the iOS side but not android
m

MarkRS

11/23/2021, 3:22 PM
Yes, but does it actually run? There seems to be a difference between what the compiler and the checker see, in my case at least.
b

Brian Donovan

11/23/2021, 3:22 PM
yes it does run
m

MarkRS

11/23/2021, 5:20 PM
Yes, awful, isn't it! </Marvin>
z

zalewski.se

11/23/2021, 11:48 PM
Did you set these flags in your
gradle.properties
?
Copy code
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false
l

Lukasz Burcon

02/09/2022, 7:53 AM
Did you have
Android Plugin
turned ON? Turning it ON solved my issue
2 Views