d

    darkmoon_uk

    2 months ago
    "Kotlin not configured" ...I've applied the
    multiplatform
    plugin and even depended on the
    stdlib
    in
    commonMain
    - what else is there to convince the IDE it's configured?
    Landry Norris

    Landry Norris

    2 months ago
    Is this Android Studio or IntelliJ? What version?
    d

    darkmoon_uk

    2 months ago
    Sorry; Android Studio Electric Eel; but getting the same in Dolphin with this project.
    I'll try Chipmunk.
    Landry Norris

    Landry Norris

    2 months ago
    I’ve switched to IntelliJ since it seems to have better support.
    d

    darkmoon_uk

    2 months ago
    Good call I'll try that next. I'm not new to multiplatform this just started happening on one of my modules inexplicably. Multiplatform always seems like a hop between IDE's: AppCode is best at new projects templates... Android Studio best at Compose Previews... IntelliJ best at general code awareness. I don't have the answer but really hope this aspect improves.
    Damn, same result, looks like some interaction between my module structure and Android target
    I'll try and file a minimal reproducer
    m

    MarkRS

    2 months ago
    Could it be a plugin breaking the build before the multiplatform plugin gets called?
    d

    darkmoon_uk

    2 months ago
    @MarkRS congrats you are 'on the money!' - disabling the apple and cocoapods plugins caused my Android targets to behave as expected again 🙂 Thanks for suggesting this angle...
    Matti MK

    Matti MK

    2 months ago
    What’s the solution here exactly? Moving
    multiplatform
    plugin as the first one on the list of plugins on the KMM module? I keep getting
    Kotlin not configured
    on my
    iosMain
    module but it doesn’t cause any issues
    d

    darkmoon_uk

    2 months ago
    @Matti MK In my case it was having the Apple Gradle DSL plugin loaded at all; which was the issue. Luckily I think I can live without it, and simply removed it.
    Matti MK

    Matti MK

    2 months ago
    Right, I’m not using so unfortunately no silver bullet for my issues 🤷