Join Slack
Powered by
Does someone know how to create a kmp project with...
# multiplatform
w
wwalkingg
07/11/2024, 2:23 PM
Does someone know how to create a kmp project with two androidTarget?
they are: 1. androidTarget("android") 2. androidTarget("androidTv") I want to create a
Compose component
in android(mobile), androidTv, ios, Tvos_*.*_
e
ephemient
07/11/2024, 2:40 PM
https://youtrack.jetbrains.com/issue/KT-59316/Deprecate-multiple-same-targets
not supported
ephemient
07/11/2024, 2:41 PM
it is possible to create multiple variants within the android target
w
wwalkingg
07/11/2024, 2:45 PM
@ephemient
Thank you! I will read the issue first.
wwalkingg
07/11/2024, 2:58 PM
After reading this issue, I finally located this document.
https://kotlinlang.org/docs/multiplatform-compatibility-guide.html#declaring-several-similar-targets
Thanks again!!!
3
Views
Open in Slack
Previous
Next