For quite some time I have issues with Android Stu...
# multiplatform
m
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?
p
Tldr: Use IntelliJ
m
I was afraid this was the answer 😄 Should AppCode be fine as well, wdyt?
p
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
@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
p
Just try it out? It has a free trial
l
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
@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.