ive only seen examples for multiplatform where And...
# multiplatform
a
ive only seen examples for multiplatform where Android is used as the app. is there an example of a multiplatform project that has android as a library? ive tried applying
com.android.library
with
kotlin-platform-jvm
which doesnt work. also there isn't a
kotlin-platform-android
. Is there something I am doing wrong here?
i
No, nothing wrong, just that is not supported yet. If you can, place actual declarations in JVM-only project and use it as a dependency of your android library.
a
the actual declarations I want to reference Android framework classes. use case experimenting with Dbflow to try to support JVM and Android without needing to rely purely on interface abstractions