I'm writing a library that would be used for Andro...
# multiplatform
m
I'm writing a library that would be used for Android, iOS, and JS. I've got my first test set up, and when I go to run it, the drop down gives js and ios options to run but not jvm or android. I might be missing something simple, but any tips? I've set up the target as
android
and source folders for
androidMain
and
androidTest
.
d
I don't know why the IDE isn't offering you the a Android option but I do have similar issues with KMP not recognising the Android module properly in several places, I guess it's bugged at the moment. If you are ok with running all the tests, not just this specific one, you could simply run the Gradle task
testDebugUnitTest
👍 1
a
This is a known bug: https://youtrack.jetbrains.com/issue/KT-34535 You should use the Gradle task 'check' to run all your tests.
👍 1