# Multiplatform

**URL:** https://discuss.kotlinlang.org/c/multiplatform/17.md

[Latest](https://discuss.kotlinlang.org/latest.md) · [Categories](https://discuss.kotlinlang.org/categories.md)

---

## [Google Flutter - What could be their reason for choosing Dart (over Kotlin)](https://discuss.kotlinlang.org/t/google-flutter-what-could-be-their-reason-for-choosing-dart-over-kotlin/21179)

<div class="topic-metadata">

**Author:** [@westnordost](https://discuss.kotlinlang.org/u/westnordost)\
**Replies:** 22\
**Last updated:** [August 30, 2024, 5:11pm UTC](https://discuss.kotlinlang.org/t/google-flutter-what-could-be-their-reason-for-choosing-dart-over-kotlin/21179 "2024-08-30T17:11:50Z")

</div>

I’ve never understood Google’s decision to seemingly simultaneously push for Kotlin on Android and at the same time, introduce a completely new (or at least to that date pretty unknown) language for their cross-platform …

---

## [\[Idea\] Python backend](https://discuss.kotlinlang.org/t/idea-python-backend/19852)

<div class="topic-metadata">

**Author:** [@krzema12](https://discuss.kotlinlang.org/u/krzema12)\
**Replies:** 19\
**Last updated:** [November 18, 2023, 1:53pm UTC](https://discuss.kotlinlang.org/t/idea-python-backend/19852 "2023-11-18T13:53:59Z")

</div>

What do you think about having Kotlin + Python interop, just like we have for JS or Native? Python is extremely popular, and getting even more popular. It’s now industry standard in machine learning and data science. It…

---

## [WorldWind Kotlin - the first multi-platform planetary 3D globe library for JS, Android and JVM](https://discuss.kotlinlang.org/t/worldwind-kotlin-the-first-multi-platform-planetary-3d-globe-library-for-js-android-and-jvm/25734)

<div class="topic-metadata">

**Author:** [@ComBatVision](https://discuss.kotlinlang.org/u/ComBatVision)\
**Replies:** 24\
**Last updated:** [June 17, 2026, 10:06am UTC](https://discuss.kotlinlang.org/t/worldwind-kotlin-the-first-multi-platform-planetary-3d-globe-library-for-js-android-and-jvm/25734 "2026-06-17T10:06:05Z")

</div>

Hello, Kotlin Community! Let me introduce you the first Kotlin multi-platform open-source planetary 3D globe SDK library for JS, Android and JVM - GitHub - WorldWindEarth/WorldWindKotlin: The WorldWind Kotlin SDK (WWK) …

---

## [KMP - General understanding](https://discuss.kotlinlang.org/t/kmp-general-understanding/27580)

<div class="topic-metadata">

**Author:** [@uuf6429](https://discuss.kotlinlang.org/u/uuf6429)\
**Replies:** 13\
**Last updated:** [November 11, 2023, 10:42am UTC](https://discuss.kotlinlang.org/t/kmp-general-understanding/27580 "2023-11-11T10:42:21Z")

</div>

I’ve just spent some time on a second attempt of using KMP and Compose. Naturally, I went through the documentation mentioned here: Here are the things that confused me in this process: I planned and expected to use…

---

## [UUID for Kotlin Multiplatform](https://discuss.kotlinlang.org/t/uuid-for-kotlin-multiplatform/21925)

<div class="topic-metadata">

**Author:** [@ermadmi78](https://discuss.kotlinlang.org/u/ermadmi78)\
**Replies:** 9\
**Last updated:** [September 27, 2024, 3:12pm UTC](https://discuss.kotlinlang.org/t/uuid-for-kotlin-multiplatform/21925 "2024-09-27T15:12:12Z")

</div>

There is kotlinx-datetime - the multiplatform clone of Java Date/Time API. It there any plans to create multiplatform analog of java.util.UUID?

---

## [Multi-platform project with a JVM common target](https://discuss.kotlinlang.org/t/multi-platform-project-with-a-jvm-common-target/12032)

<div class="topic-metadata">

**Author:** [@benwoodworth](https://discuss.kotlinlang.org/u/benwoodworth)\
**Replies:** 11\
**Last updated:** [June 19, 2019, 6:12am UTC](https://discuss.kotlinlang.org/t/multi-platform-project-with-a-jvm-common-target/12032 "2019-06-19T06:12:51Z")

</div>

I’m working on a JVM project that can be compiled against a couple different Java APIs. I’d like to use Kotlin’s multi-platform features for this, since they look super useful for what I’m doing. I would like to have a c…

---

## [Synthetic not available in new KMM example project](https://discuss.kotlinlang.org/t/synthetic-not-available-in-new-kmm-example-project/18997)

<div class="topic-metadata">

**Author:** [@francescogatto](https://discuss.kotlinlang.org/u/francescogatto)\
**Replies:** 9\
**Last updated:** [September 25, 2020, 3:44pm UTC](https://discuss.kotlinlang.org/t/synthetic-not-available-in-new-kmm-example-project/18997 "2020-09-25T15:44:56Z")

</div>

Hi! I’m trying to use the new KMM example project , but it seems that is impossible to import textView with Synthetic Is this available on kmm? Thanks

---

## [Is there any common approach to generate Kotlin multiplatfom data classes with validation annotations like JAXB+JSR303 in Java?](https://discuss.kotlinlang.org/t/is-there-any-common-approach-to-generate-kotlin-multiplatfom-data-classes-with-validation-annotations-like-jaxb-jsr303-in-java/20956)

<div class="topic-metadata">

**Author:** [@SuffiX](https://discuss.kotlinlang.org/u/SuffiX)\
**Replies:** 10\
**Last updated:** [October 21, 2025, 8:14am UTC](https://discuss.kotlinlang.org/t/is-there-any-common-approach-to-generate-kotlin-multiplatfom-data-classes-with-validation-annotations-like-jaxb-jsr303-in-java/20956 "2025-10-21T08:14:19Z")

</div>

Hi all, I am trying to find any approach to generate Kotlin data models with validation annotations from XSD files to use them in JVM and JS environment as main application models. Previously in Java I used XJC + Krasa…

---

## [Fullstack Kotlin with Maven?](https://discuss.kotlinlang.org/t/fullstack-kotlin-with-maven/16008)

<div class="topic-metadata">

**Author:** [@SP0X](https://discuss.kotlinlang.org/u/SP0X)\
**Replies:** 13\
**Last updated:** [January 29, 2024, 1:22am UTC](https://discuss.kotlinlang.org/t/fullstack-kotlin-with-maven/16008 "2024-01-29T01:22:07Z")

</div>

Hello, everybody. I’d like to get my team to use Kotlin Multiplatform as we could share a lot of code, but I’ve encountered some obstacles myself that make it impossible to work with it effectively at the moment. I wou…

---

## [Ensuring that coroutines in a specific scope never run on multiple threads simultaneously](https://discuss.kotlinlang.org/t/ensuring-that-coroutines-in-a-specific-scope-never-run-on-multiple-threads-simultaneously/23349)

<div class="topic-metadata">

**Author:** [@crg7475](https://discuss.kotlinlang.org/u/crg7475)\
**Replies:** 9\
**Last updated:** [November 3, 2021, 9:48am UTC](https://discuss.kotlinlang.org/t/ensuring-that-coroutines-in-a-specific-scope-never-run-on-multiple-threads-simultaneously/23349 "2021-11-03T09:48:03Z")

</div>

I wonder if it is possible to set up a dispatcher that ensures that coroutines inside it cannot ever be run simultaneously on different threads. That is, the dispatcher is not necessarily pinned to a specific thread, but…

---

## [Using libs outside of IntelliJ](https://discuss.kotlinlang.org/t/using-libs-outside-of-intellij/21871)

<div class="topic-metadata">

**Author:** [@alzomins](https://discuss.kotlinlang.org/u/alzomins)\
**Replies:** 10\
**Last updated:** [May 25, 2021, 7:55am UTC](https://discuss.kotlinlang.org/t/using-libs-outside-of-intellij/21871 "2021-05-25T07:55:29Z")

</div>

Dear all, is there any possibility to use the built multiplatform js file (build/distribution/FILE.js) in other IDE, for example, Visual Studio Code, to write JS and HTML in their natural environment? It seems that VSC…

---

## [Koltin multiplatform constructor/function default arguments for Swift](https://discuss.kotlinlang.org/t/koltin-multiplatform-constructor-function-default-arguments-for-swift/15890)

<div class="topic-metadata">

**Author:** [@asdfv](https://discuss.kotlinlang.org/u/asdfv)\
**Replies:** 1\
**Last updated:** [September 16, 2021, 4:03am UTC](https://discuss.kotlinlang.org/t/koltin-multiplatform-constructor-function-default-arguments-for-swift/15890 "2021-09-16T04:03:51Z")

</div>

class GetDetailsAction(private val repository: Repository = DefaultRepository()) { // code here } It would be great to be to use default arguments in constructor/function in Kotlin Multiplatform common code and be a…

---

## [Disabling androidAndroidTestRelease source set in gradle Kotlin DSL script](https://discuss.kotlinlang.org/t/disabling-androidandroidtestrelease-source-set-in-gradle-kotlin-dsl-script/21448)

<div class="topic-metadata">

**Author:** [@crg7475](https://discuss.kotlinlang.org/u/crg7475)\
**Replies:** 6\
**Last updated:** [January 5, 2023, 8:25pm UTC](https://discuss.kotlinlang.org/t/disabling-androidandroidtestrelease-source-set-in-gradle-kotlin-dsl-script/21448 "2023-01-05T20:25:05Z")

</div>

In my Kotlin Multiplatform project, I have code that is sufficiently tested via JVM based tests. The Android specific code in androidMain/ only adds a few extras, so I do not need to add Android JUnit tests. I do get thi…

---

## [Kotlin's version of BigDecimal](https://discuss.kotlinlang.org/t/kotlins-version-of-bigdecimal/21762)

<div class="topic-metadata">

**Author:** [@KamilDoCholery](https://discuss.kotlinlang.org/u/KamilDoCholery)\
**Replies:** 8\
**Last updated:** [April 13, 2022, 3:24pm UTC](https://discuss.kotlinlang.org/t/kotlins-version-of-bigdecimal/21762 "2022-04-13T15:24:37Z")

</div>

Is there any chance for Multiplatform version of java’s BigDecimal? I know that there are 3rd party libraries like kotlin-multiplatform-bignum, but there aren’t as easy to use as built in types. If Multiplatform stdlib …

---

## [How to get String Codepoints in Multiplatform](https://discuss.kotlinlang.org/t/how-to-get-string-codepoints-in-multiplatform/20419)

<div class="topic-metadata">

**Author:** [@shiami](https://discuss.kotlinlang.org/u/shiami)\
**Replies:** 3\
**Last updated:** [March 6, 2025, 2:28pm UTC](https://discuss.kotlinlang.org/t/how-to-get-string-codepoints-in-multiplatform/20419 "2025-03-06T14:28:33Z")

</div>

Since I can’t use the String functions in Java, I can’t find any function can deal with String codepoints in Kotlin common. Any suggestion?

---

## [Expect-actual using typealias](https://discuss.kotlinlang.org/t/expect-actual-using-typealias/15147)

<div class="topic-metadata">

**Author:** [@snorbi](https://discuss.kotlinlang.org/u/snorbi)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 9:40am UTC](https://discuss.kotlinlang.org/t/expect-actual-using-typealias/15147 "2019-12-03T09:40:31Z")

</div>

What is the correct way to define this multiplatform common type? common: expect class YearMonth: Comparable\<YearMonth\> { val year: Int // How should I declare this property? } jvm: // This typealias is a require…

---

## [Feature Request: Typealias for expected Types](https://discuss.kotlinlang.org/t/feature-request-typealias-for-expected-types/20054)

<div class="topic-metadata">

**Author:** [@mlengert174](https://discuss.kotlinlang.org/u/mlengert174)\
**Replies:** 5\
**Last updated:** [February 27, 2023, 10:58am UTC](https://discuss.kotlinlang.org/t/feature-request-typealias-for-expected-types/20054 "2023-02-27T10:58:51Z")

</div>

I have a use case where I only need to pass an object through shared code. The object is created in platform specific code and only used in platform specific code, but in another layer. The only solution I found was to …

---

## [Concurrent Hash Map in Kotlin](https://discuss.kotlinlang.org/t/concurrent-hash-map-in-kotlin/19771)

<div class="topic-metadata">

**Author:** [@rajkukadia](https://discuss.kotlinlang.org/u/rajkukadia)\
**Replies:** 3\
**Last updated:** [November 4, 2020, 12:30pm UTC](https://discuss.kotlinlang.org/t/concurrent-hash-map-in-kotlin/19771 "2020-11-04T12:30:04Z")

</div>

I am working on a multi-platform project where code in commonMain cannot import Java packages. I want to implement/use a thread-safe HashMap exactly like ConcurrentHashMap in Java. How can I do this purely in Kotlin?

---

## [Kotlin-bom in multiplatform projects?](https://discuss.kotlinlang.org/t/kotlin-bom-in-multiplatform-projects/19694)

<div class="topic-metadata">

**Author:** [@crg7475](https://discuss.kotlinlang.org/u/crg7475)\
**Replies:** 3\
**Last updated:** [November 18, 2020, 11:02am UTC](https://discuss.kotlinlang.org/t/kotlin-bom-in-multiplatform-projects/19694 "2020-11-18T11:02:50Z")

</div>

I was told that it is generally recommended to add kotlin-bom as a dependency to all projects to make sure all Kotlin components are version-aligned. My gradle code looks like this: plugins { kotlin("multiplatform")…

---

## [Is it possible to make a library module that is pure Kotlin (without a target platform like JVM or JS), so that it can be consumed by any other Kotlin module?](https://discuss.kotlinlang.org/t/is-it-possible-to-make-a-library-module-that-is-pure-kotlin-without-a-target-platform-like-jvm-or-js-so-that-it-can-be-consumed-by-any-other-kotlin-module/18657)

<div class="topic-metadata">

**Author:** [@ocky7](https://discuss.kotlinlang.org/u/ocky7)\
**Replies:** 8\
**Last updated:** [October 17, 2021, 7:01pm UTC](https://discuss.kotlinlang.org/t/is-it-possible-to-make-a-library-module-that-is-pure-kotlin-without-a-target-platform-like-jvm-or-js-so-that-it-can-be-consumed-by-any-other-kotlin-module/18657 "2021-10-17T19:01:34Z")

</div>

Suppose you have a Kotlin multi-platform project targeting all posible targets. The codebase is large and you would like to split the common code into multiple modules. You don’t want to keep repeating all the compilatio…

---

## [Purpose of Expect/Actual](https://discuss.kotlinlang.org/t/purpose-of-expect-actual/19221)

<div class="topic-metadata">

**Author:** [@Minirogue](https://discuss.kotlinlang.org/u/Minirogue)\
**Replies:** 3\
**Last updated:** [October 16, 2020, 3:11am UTC](https://discuss.kotlinlang.org/t/purpose-of-expect-actual/19221 "2020-10-16T03:11:34Z")

</div>

So, I’m in the early stages of exploring Multiplatform with a small(as of now) personal project. I wrote an expect/actual function to retrieve user input and it seemed neat. Then I wrote another function and refactored a…

---

## [Kotlin2js vs multiplatform gradle plugin](https://discuss.kotlinlang.org/t/kotlin2js-vs-multiplatform-gradle-plugin/13970)

<div class="topic-metadata">

**Author:** [@avwie](https://discuss.kotlinlang.org/u/avwie)\
**Replies:** 5\
**Last updated:** [August 20, 2019, 5:27pm UTC](https://discuss.kotlinlang.org/t/kotlin2js-vs-multiplatform-gradle-plugin/13970 "2019-08-20T17:27:30Z")

</div>

Okay, so I’ve been trying to create a build with Kotlin2Js and with Multiplatform with some common code and some Js and JVM specific code. It is unclear to me what the recommended approach is, because it appears to be c…

---

## [How can I publish a javadoc.jar file with my Kotlin multiplatform project?](https://discuss.kotlinlang.org/t/how-can-i-publish-a-javadoc-jar-file-with-my-kotlin-multiplatform-project/21119)

<div class="topic-metadata">

**Author:** [@marcoeckstein](https://discuss.kotlinlang.org/u/marcoeckstein)\
**Replies:** 4\
**Last updated:** [March 19, 2021, 8:01pm UTC](https://discuss.kotlinlang.org/t/how-can-i-publish-a-javadoc-jar-file-with-my-kotlin-multiplatform-project/21119 "2021-03-19T20:01:39Z")

</div>

Note: I have posted this question at Stack Overflow already, but I want to increase my chances of getting a reply for this niche topic by posting here. If you want credit, please reply over there. Related topics/issues: …

---

## [How to add MPP-Common module to existing multi-module codebase?](https://discuss.kotlinlang.org/t/how-to-add-mpp-common-module-to-existing-multi-module-codebase/18167)

<div class="topic-metadata">

**Author:** [@avwie](https://discuss.kotlinlang.org/u/avwie)\
**Replies:** 0\
**Last updated:** [June 20, 2020, 1:10pm UTC](https://discuss.kotlinlang.org/t/how-to-add-mpp-common-module-to-existing-multi-module-codebase/18167 "2020-06-20T13:10:43Z")

</div>

I have an existing Kotlin project, consisting of a multi-module setup with Gradle, using multi-project builds described here: Structuring and Building a Software Component with Gradle This works pretty good in modularis…

---

## [Thelema engine (3d graphics)](https://discuss.kotlinlang.org/t/thelema-engine-3d-graphics/19219)

<div class="topic-metadata">

**Author:** [@zeganstyl](https://discuss.kotlinlang.org/u/zeganstyl)\
**Replies:** 2\
**Last updated:** [September 19, 2020, 7:19am UTC](https://discuss.kotlinlang.org/t/thelema-engine-3d-graphics/19219 "2020-09-19T07:19:48Z")

</div>

Hello. I’m making Thelema engine - 3d graphics engine in Kotlin. It was based on libGDX sources. Currently main platforms is JVM and TeaVM (Java bytecode compiler to javascript). I also develop Kotlin/Multiplatform mo…

---

## [Kotlin Multiplatform AWS library](https://discuss.kotlinlang.org/t/kotlin-multiplatform-aws-library/13547)

<div class="topic-metadata">

**Author:** [@kotlinwieekjkdi](https://discuss.kotlinlang.org/u/kotlinwieekjkdi)\
**Replies:** 2\
**Last updated:** [August 28, 2019, 7:27pm UTC](https://discuss.kotlinlang.org/t/kotlin-multiplatform-aws-library/13547 "2019-08-28T19:27:01Z")

</div>

Is there any effort on building AWS SDK for Kotlin multiplatform (iOS/Android)? I can make API Gateway calls using ktor but it would be nice to be able to directly talk to other components of AWS (DB etc). It will be a…

---

## [Localization in KMM](https://discuss.kotlinlang.org/t/localization-in-kmm/19513)

<div class="topic-metadata">

**Author:** [@amitmishra19](https://discuss.kotlinlang.org/u/amitmishra19)\
**Replies:** 2\
**Last updated:** [May 20, 2021, 1:27pm UTC](https://discuss.kotlinlang.org/t/localization-in-kmm/19513 "2021-05-20T13:27:36Z")

</div>

What is the best way to achieve localization in Kotlin Multiplatform Mobile. Is there a way we can keep all the strings as part of common resource that can be used by both Android and iOS platforms.

---

## [Large shared framework size for ios](https://discuss.kotlinlang.org/t/large-shared-framework-size-for-ios/21778)

<div class="topic-metadata">

**Author:** [@amnuwan](https://discuss.kotlinlang.org/u/amnuwan)\
**Replies:** 7\
**Last updated:** [December 18, 2022, 6:56am UTC](https://discuss.kotlinlang.org/t/large-shared-framework-size-for-ios/21778 "2022-12-18T06:56:49Z")

</div>

After searching this forum, I couldn’t find that anybody has raised this question before. Why is that even a minimum ( ‘Hello world’ type ) KMM app project create shared ios framework binary of sized around 6 MB even i…

---

## [Kotlin deserialization error on json array, using kotlin 1.4.32](https://discuss.kotlinlang.org/t/kotlin-deserialization-error-on-json-array-using-kotlin-1-4-32/22014)

<div class="topic-metadata">

**Author:** [@jamesblack975](https://discuss.kotlinlang.org/u/jamesblack975)\
**Replies:** 2\
**Last updated:** [June 4, 2021, 1:44pm UTC](https://discuss.kotlinlang.org/t/kotlin-deserialization-error-on-json-array-using-kotlin-1-4-32/22014 "2021-06-04T13:44:56Z")

</div>

When I call a web service I get a response like this: \[{"courseId":"ACC-211","title":"Financial Accounting","creditHours":3,"department":"Accounting","titleIdSeq":"30202288","courseDescription":"Develops ... financing."…

---

## [How to use Base64 in Multiplatform (iOS/Android)](https://discuss.kotlinlang.org/t/how-to-use-base64-in-multiplatform-ios-android/19755)

<div class="topic-metadata">

**Author:** [@tru4ka](https://discuss.kotlinlang.org/u/tru4ka)\
**Replies:** 7\
**Last updated:** [December 23, 2021, 9:04am UTC](https://discuss.kotlinlang.org/t/how-to-use-base64-in-multiplatform-ios-android/19755 "2021-12-23T09:04:18Z")

</div>

I am new to the KMM world, coming from Android background. While I could easily modulize my code and use the kmm for my business logic in a common module, there are still some small things that do not work as nicely as …

---

## [KMM generics in Swift: force KMM Any to be Swift Any instead of AnyObject](https://discuss.kotlinlang.org/t/kmm-generics-in-swift-force-kmm-any-to-be-swift-any-instead-of-anyobject/22140)

<div class="topic-metadata">

**Author:** [@Kharente-Deuh](https://discuss.kotlinlang.org/u/Kharente-Deuh)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 9:19am UTC](https://discuss.kotlinlang.org/t/kmm-generics-in-swift-force-kmm-any-to-be-swift-any-instead-of-anyobject/22140 "2021-06-16T09:19:16Z")

</div>

Hi ! I’m currently working on a KMM library that is implemented in Swift. So there’s something I don’t really get with generics. I have my KMM generic class: class Foo\<T\> { ... } Then, i can use it without any prob…

---

## [Feature request / discussion: “Thin” Kotlin/Native Apple frameworks (shared runtime/deps; non-self-contained framework)](https://discuss.kotlinlang.org/t/feature-request-discussion-thin-kotlin-native-apple-frameworks-shared-runtime-deps-non-self-contained-framework/31018)

<div class="topic-metadata">

**Author:** [@jinwei.han93](https://discuss.kotlinlang.org/u/jinwei.han93)\
**Replies:** 0\
**Last updated:** [March 30, 2026, 10:50pm UTC](https://discuss.kotlinlang.org/t/feature-request-discussion-thin-kotlin-native-apple-frameworks-shared-runtime-deps-non-self-contained-framework/31018 "2026-03-30T22:50:48Z")

</div>

Context Hi Kotlin team and community, We are using Kotlin Multiplatform with Kotlin/Native to build and ship Apple frameworks (XCFrameworks) for a large modularized codebase. We want to split our deliverables into two …

---

## [Not able to run unit tests on kotlin Multiplatform project](https://discuss.kotlinlang.org/t/not-able-to-run-unit-tests-on-kotlin-multiplatform-project/15779)

<div class="topic-metadata">

**Author:** [@nadeeshtv](https://discuss.kotlinlang.org/u/nadeeshtv)\
**Replies:** 8\
**Last updated:** [May 17, 2020, 9:11pm UTC](https://discuss.kotlinlang.org/t/not-able-to-run-unit-tests-on-kotlin-multiplatform-project/15779 "2020-05-17T21:11:23Z")

</div>

Hi all, I am trying to create a kotlin Multiplatform library which can later convert into java and javascript using IDEA 2019.3, kotlin 1.3 . I created a simple junit (4) test class and configured it as follows. pack…

---

## [How to apply free compile args in Kotlin Multiplatform?](https://discuss.kotlinlang.org/t/how-to-apply-free-compile-args-in-kotlin-multiplatform/19129)

<div class="topic-metadata">

**Author:** [@phucynwa](https://discuss.kotlinlang.org/u/phucynwa)\
**Replies:** 2\
**Last updated:** [September 10, 2022, 5:15pm UTC](https://discuss.kotlinlang.org/t/how-to-apply-free-compile-args-in-kotlin-multiplatform/19129 "2022-09-10T17:15:50Z")

</div>

To apply free compile args in Android I used below line (Gradle Kotlin DSL). freeCompilerArgs = freeCompilerArgs + "-Xallow-result-return-type" + "-Xinline-classes" How to apply it for KMP? I’m using Android Studio.

---

## [toLowerCase() is deprecated, what should I use it in common module instead](https://discuss.kotlinlang.org/t/tolowercase-is-deprecated-what-should-i-use-it-in-common-module-instead/21946)

<div class="topic-metadata">

**Author:** [@olekdia](https://discuss.kotlinlang.org/u/olekdia)\
**Replies:** 3\
**Last updated:** [December 16, 2021, 10:33am UTC](https://discuss.kotlinlang.org/t/tolowercase-is-deprecated-what-should-i-use-it-in-common-module-instead/21946 "2021-12-16T10:33:07Z")

</div>

Hi, now toLowerCase() is deprecated, so how can I use this functionality in KMM in common module, as there is no Locale class in common? I used it in common module to convert user input #tAgS to #tags with locale aware …

---

## [Dependencies on multiplatform subproject](https://discuss.kotlinlang.org/t/dependencies-on-multiplatform-subproject/26628)

<div class="topic-metadata">

**Author:** [@MoreOwO](https://discuss.kotlinlang.org/u/MoreOwO)\
**Replies:** 0\
**Last updated:** [April 3, 2023, 8:59pm UTC](https://discuss.kotlinlang.org/t/dependencies-on-multiplatform-subproject/26628 "2023-04-03T20:59:52Z")

</div>

Hi, i’m new with multiplatform, I have a subproject using only jvm kotlin but i can’t figure out how to add dependencies to it. When i try to build or run, i just get “Unresolved reference” on every external dependencies…

---

## [Is it possible to create a Web, Android, iOS and Windows App with Kotlin Multiplatform?](https://discuss.kotlinlang.org/t/is-it-possible-to-create-a-web-android-ios-and-windows-app-with-kotlin-multiplatform/23284)

<div class="topic-metadata">

**Author:** [@nthom](https://discuss.kotlinlang.org/u/nthom)\
**Replies:** 0\
**Last updated:** [October 21, 2021, 7:41pm UTC](https://discuss.kotlinlang.org/t/is-it-possible-to-create-a-web-android-ios-and-windows-app-with-kotlin-multiplatform/23284 "2021-10-21T19:41:48Z")

</div>

Hey guys, I’m currently researching a possibility to create a Web, Android, iOS and Windows App with Kotlin Multiplatform. Unfortunately the existing documentation is only helpful if you want to create a fullstack Web A…

---

## [Using Kotlin 1.6 and Java 17 in Compose Multiplatform](https://discuss.kotlinlang.org/t/using-kotlin-1-6-and-java-17-in-compose-multiplatform/23722)

<div class="topic-metadata">

**Author:** [@EatBrains](https://discuss.kotlinlang.org/u/EatBrains)\
**Replies:** 2\
**Last updated:** [December 19, 2021, 7:35pm UTC](https://discuss.kotlinlang.org/t/using-kotlin-1-6-and-java-17-in-compose-multiplatform/23722 "2021-12-19T19:35:01Z")

</div>

Kotlin Multiplatform seems to only support Kotlin 1.5.31 and Java 16. This is a freshly generated project in a freshly installed instance of IntelliJ IDEA Ultimate. I’d like to use Kotlin 1.6.10 or 1.5.32 and Java LT…

---

## [Analyze slow Kotlin compilation](https://discuss.kotlinlang.org/t/analyze-slow-kotlin-compilation/21106)

<div class="topic-metadata">

**Author:** [@danielku15.1](https://discuss.kotlinlang.org/u/danielku15.1)\
**Replies:** 4\
**Last updated:** [April 3, 2021, 2:27pm UTC](https://discuss.kotlinlang.org/t/analyze-slow-kotlin-compilation/21106 "2021-04-03T14:27:22Z")

</div>

Hi everyone. tl;dr: How can I find why the Kotlin compilation of my project is so slow compared to other compilers? Are there any flags beyond --scan which will produce detailed logs? Problem I am developing a multi p…

---

## [Flutter for UI, Kotlin for the rest](https://discuss.kotlinlang.org/t/flutter-for-ui-kotlin-for-the-rest/18415)

<div class="topic-metadata">

**Author:** [@stanislav.sst](https://discuss.kotlinlang.org/u/stanislav.sst)\
**Replies:** 2\
**Last updated:** [July 11, 2020, 7:25pm UTC](https://discuss.kotlinlang.org/t/flutter-for-ui-kotlin-for-the-rest/18415 "2020-07-11T19:25:02Z")

</div>

Hello all, I know similar questions have been around and perhaps I will annoy many but I really need a professional advice. I want to develop an app for both Android and iOS and have knowledge of Kotlin. But it is clea…

---

## [Platform-independent way to check for array overrun](https://discuss.kotlinlang.org/t/platform-independent-way-to-check-for-array-overrun/19640)

<div class="topic-metadata">

**Author:** [@Loke](https://discuss.kotlinlang.org/u/Loke)\
**Replies:** 0\
**Last updated:** [October 24, 2020, 7:00pm UTC](https://discuss.kotlinlang.org/t/platform-independent-way-to-check-for-array-overrun/19640 "2020-10-24T19:00:22Z")

</div>

In my multiplatform application I have an inline class that looks something like this: inline class Foo(val content: IntArray) { operator fun get(i: Int) = content\[i\] } In my unit tests I have a test that ensures t…

---

## [Multiplatform bigint library](https://discuss.kotlinlang.org/t/multiplatform-bigint-library/26636)

<div class="topic-metadata">

**Author:** [@Loke](https://discuss.kotlinlang.org/u/Loke)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 11:22am UTC](https://discuss.kotlinlang.org/t/multiplatform-bigint-library/26636 "2023-04-06T11:22:47Z")

</div>

My project is a programming language that is implemented as a Kotlin multiplatform application. In my language, I needed to provide native bignum support, but I didn’t find any multiplatform implementation of BigInt. Of…

---

## [Android unable to resolve dependency on common module](https://discuss.kotlinlang.org/t/android-unable-to-resolve-dependency-on-common-module/15715)

<div class="topic-metadata">

**Author:** [@PerrigoGames](https://discuss.kotlinlang.org/u/PerrigoGames)\
**Replies:** 2\
**Last updated:** [January 21, 2020, 12:42am UTC](https://discuss.kotlinlang.org/t/android-unable-to-resolve-dependency-on-common-module/15715 "2020-01-21T00:42:56Z")

</div>

I’m attempting to set up a Kotlin multiplatform project inside an existing Android project, and I’m having some issues getting my Gradle files configured properly. I’m in a state where my common module builds, but the o…

---

## [Multiplatform + coroutines + ios threading](https://discuss.kotlinlang.org/t/multiplatform-coroutines-ios-threading/16280)

<div class="topic-metadata">

**Author:** [@mvandzura](https://discuss.kotlinlang.org/u/mvandzura)\
**Replies:** 3\
**Last updated:** [February 11, 2020, 7:55am UTC](https://discuss.kotlinlang.org/t/multiplatform-coroutines-ios-threading/16280 "2020-02-11T07:55:00Z")

</div>

Hi, are there some resources or can someone explain me how threading works in iOS? In all examples which I found there is Dispatchers implementation for ios like this val main: CoroutineDispatcher = NsQueueDispatcher(d…

---

## [KMM vs KMP](https://discuss.kotlinlang.org/t/kmm-vs-kmp/19267)

<div class="topic-metadata">

**Author:** [@TTSP](https://discuss.kotlinlang.org/u/TTSP)\
**Replies:** 1\
**Last updated:** [March 6, 2021, 8:03pm UTC](https://discuss.kotlinlang.org/t/kmm-vs-kmp/19267 "2021-03-06T20:03:28Z")

</div>

Hi there. I am looking at Kotlin Multiplatform, and there seem to be a difference between Kotlin Multiplatform ( KMP ) and the more specific Kotlin Multiplatform Mobile (KMM ). Is there really a difference? If I start…

---

## [Disabling Source Map Generation in Kotlin Multiplatform for JS Target with Binaries as Library](https://discuss.kotlinlang.org/t/disabling-source-map-generation-in-kotlin-multiplatform-for-js-target-with-binaries-as-library/28190)

<div class="topic-metadata">

**Author:** [@arshak.manukyan.16](https://discuss.kotlinlang.org/u/arshak.manukyan.16)\
**Replies:** 0\
**Last updated:** [February 23, 2024, 7:22am UTC](https://discuss.kotlinlang.org/t/disabling-source-map-generation-in-kotlin-multiplatform-for-js-target-with-binaries-as-library/28190 "2024-02-23T07:22:27Z")

</div>

Hello Community, I am working on a Kotlin Multiplatform project and aiming to disable source map generation for the JavaScript (JS) library. Despite configuring my build.gradle.kts file as shown below, source maps are s…

---

## [Gradle jvmProcessResources fails with "duplicate" file](https://discuss.kotlinlang.org/t/gradle-jvmprocessresources-fails-with-duplicate-file/21890)

<div class="topic-metadata">

**Author:** [@rnikander](https://discuss.kotlinlang.org/u/rnikander)\
**Replies:** 6\
**Last updated:** [January 15, 2022, 2:49pm UTC](https://discuss.kotlinlang.org/t/gradle-jvmprocessresources-fails-with-duplicate-file/21890 "2022-01-15T14:49:32Z")

</div>

My build is failing and it makes no sense. Anyone know what this is, or how to debug it? Execution failed for task ‘:jvmProcessResources’. Entry log4j2.xml is a duplicate but no duplicate handling strategy has been se…

---

## [Is it possible to use common kotlin library (not multiplatform) in kotlin multiplatform commonMain/JVM?](https://discuss.kotlinlang.org/t/is-it-possible-to-use-common-kotlin-library-not-multiplatform-in-kotlin-multiplatform-commonmain-jvm/17441)

<div class="topic-metadata">

**Author:** [@ptdede](https://discuss.kotlinlang.org/u/ptdede)\
**Replies:** 8\
**Last updated:** [July 12, 2020, 1:33pm UTC](https://discuss.kotlinlang.org/t/is-it-possible-to-use-common-kotlin-library-not-multiplatform-in-kotlin-multiplatform-commonmain-jvm/17441 "2020-07-12T13:33:33Z")

</div>

I built Kotlin library and already used it on Android but it doesn’t has any android dependencies in it. It’s just plain Kotlin (helpers, utils and extensions) and some annotations. Then, I try to include my Kotlin libra…

---

## [Same KMP Library for both Android and iOS](https://discuss.kotlinlang.org/t/same-kmp-library-for-both-android-and-ios/28176)

<div class="topic-metadata">

**Author:** [@bhushan.kasturiwale](https://discuss.kotlinlang.org/u/bhushan.kasturiwale)\
**Replies:** 0\
**Last updated:** [February 21, 2024, 12:30am UTC](https://discuss.kotlinlang.org/t/same-kmp-library-for-both-android-and-ios/28176 "2024-02-21T00:30:26Z")

</div>

Consider if we have a following scenario: Existing Android (Kotlin) and iOS (Swift) UI Project Existing Android (Kotlin) and iOS (Swift) SDK Project Now the UI project is limited to views and view models in Andr…

---

## [Multiplatform: Running kotlin.test Common tests and io.kotlintest JVM tests](https://discuss.kotlinlang.org/t/multiplatform-running-kotlin-test-common-tests-and-io-kotlintest-jvm-tests/15259)

<div class="topic-metadata">

**Author:** [@nanodeath](https://discuss.kotlinlang.org/u/nanodeath)\
**Replies:** 5\
**Last updated:** [June 17, 2020, 9:49pm UTC](https://discuss.kotlinlang.org/t/multiplatform-running-kotlin-test-common-tests-and-io-kotlintest-jvm-tests/15259 "2020-06-17T21:49:52Z")

</div>

I have some tests in my commonTest directory that use the built-in kotlin.test library, and some other tests in jvmTest that use io.kotlintest. I start out with a fairly vanilla build.gradle file. If I run the jvmTest t…

[Next page](https://discuss.kotlinlang.org/c/multiplatform/17.md?page=1&per_page=50)
