Archie
03/11/2021, 10:29 AMJetpack Compose
. I tried to convert the module to a Multiplatform Module
and move all android related code to androidMain
but I when building the app Compose
throws error. Also adding kotlin("android")
in the Kotlin Multiplatform
module throw and error org.gradle.api.GradleException: Please initialize at least one Kotlin target
.
Is there a way to work around this? Or is it better to create a seperate KMM module for the module and a serparate Android specific module for Android UI? Like:
:feature1
:feature1KMM
??
Thanks in advance.