Thread
#multiplatform
    m

    Michal Klimczak

    4 months ago
    For quite some time I have issues with Android Studio being unable to resolve dependencies (they build just fine). Had different scenarios for the last year, they come and go. Right now it's two things:1.
    androidTest
    not seeing any of my classes from
    commonMain
    (and possibly other modules) 2.
    androidTest
    and
    iosTest
    reporting "Actual property 'xxx' has no corresponding expected declaration" and vice versa from
    commonTest
    - "Expected property 'xxx' has no actual declaration in module X.shared.androidTest (test) for JVM" This happens on kotlin 1.6.20 (but checked a bit older code with 1.5.31 and has the same problem), AS Chipmunk, M1 macbook. I just confirmed the same issues with KaMPKit. Any hints?
    Paul Woitaschek

    Paul Woitaschek

    4 months ago
    Tldr: Use IntelliJ
    m

    Michal Klimczak

    4 months ago
    I was afraid this was the answer 😄 Should AppCode be fine as well, wdyt?
    Paul Woitaschek

    Paul Woitaschek

    4 months ago
    I don't know, i think some time back it was not up to date on the kotlin plugin but I might be wrong
    m

    Michal Klimczak

    4 months ago
    @Sebastian Sellmair [JB] hope you don't mind me summoning you here - should the AppCode work as fine as Intellij when it comes to multiplatform? That would be the best combo for KMM projects, I think
    Paul Woitaschek

    Paul Woitaschek

    4 months ago
    Just try it out? It has a free trial
    Landry Norris

    Landry Norris

    4 months ago
    The one downside I see to IntelliJ is the fact that the Android Plugin is so out of date. I can’t use the newest Android Studio features or update my Android Gradle plugin to the newest version because of this.
    m

    Michal Klimczak

    4 months ago
    @Paul Woitaschek the problem is that the issues change from one ide to another. I haven't had problems with unresolved refs in test source sets for some time and then suddenly they appeared again and I didn't notice, because I wasn't touching the platform specific test code for a few weeks. And as Landry said, there might some other subtle issues with AppCode or Intellij. Just wanted to ask the expert what the difference is under the hood.