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

Ciaran Sloan

08/16/2022, 3:27 PM
I've recently upgraded to Android Studio chipmunk and since doing so there seems to have been a configuration change of sorts to my
androidTest
directory in my kmm shared module. As a result, I do not seem to have access to any classes that are exposed from
commonMain
. This seems to be just as of Chipmunk but is not an issue on AS Bumblebee. Has anyone came across this before, or would anyone know what is the cause of this, or know how to resolve?
I can run the same project in bumblee just fine, and can run all my tests in
androidTest
without issue (im using turbine in there to test my state flows). However when I open the same project in chipmunk, the classes in
commonMain
are not accessible in
androidTest
and wont resolve
l

Landry Norris

08/16/2022, 3:34 PM
I saw this in chipmunk as well. Electric Eel works fine for me. I’d imagine Dolphin will as well, since I think this was fixed in the AGP linked with Dolphin, but I’m not 100% sure, since I haven’t used dolphin yet.
c

Ciaran Sloan

08/16/2022, 3:34 PM
oh nice, thanks. I'm in the process of downloading dolphin actually to check 😄
l

Landry Norris

08/16/2022, 3:35 PM
Make sure to upgrade the AGP as well when you use dolphin, just to be sure.
c

Ciaran Sloan

08/16/2022, 3:35 PM
cool, will do thanks 🙌
j

Jeff Lockhart

08/16/2022, 3:35 PM
Yes, most of these issues are fixed now in Dolphin beta. That's what I've been using.
l

Landry Norris

08/16/2022, 3:36 PM
Hopefully the Dolphin RC isn;t too far away. We’re already on beta 5.
c

Ciaran Sloan

08/16/2022, 3:36 PM
oh thank goodness! I didnt fancy trying to test state flows in
commonMain
without turbine 😅