I followed the Multiplatform Project: iOS and Andr...
# kotlin-native
d
I followed the Multiplatform Project: iOS and Android tutorial. everything is working great, except I don't see how to access Android platform APIs from my
androidMain/
code. i try adding
import platform.android.*
, which i've seen in various examples online, but I get
Unresolved reference: platform
. I assume my
build.gradle
is misconfigured, any ideas what I'm missing?
o
There are two different Android targets, JVM and Native one,
platform.android
is only available for Native Android