I’m developing a Compose Multiplatform project targeting both Android and iOS, and I’m experiencing long build times, especially during Kotlin compilation for multiple platforms (Android and iOS). The build process frequently shows warnings, like those in the image below:
Some points to consider:
I’m using compileSdk = 35 for Android, but I get warnings suggesting that a newer Android Gradle plugin should be used.
The iOS build (compiling Kotlin for Arm64, X64, and Simulators) is especially slow.
I get a large number of warnings during compilation, which might be contributing to the long build times.
Here’s what I’ve tried so far without much improvement
Environment:
- Android Studio Koala
- Compose Multiplatform
- Targeting Android and iOS (Arm64, X64)
Any advice on how to optimize the build times would be highly appreciated!
You need to sign in to view this answers