Basic Compose Multiplaform app using Flutter Counter Example.
- Use IntelliJ IDEA 2023.3 EAP version 2023.3 Beta (233.11799) or higher with Amper plugin for JVM and Android projects.
- Use JetBrains Fleet version 1.26.104 or higher for JVM, Android, and Kotlin Multiplatform projects.
The best way to get the most recent IDE versions is by using the Toolbox App.
Fleet 1.26 comes with Amper plugin.
If you use IntelliJ IDEA, install the Amper plugin:
- Install and configure the latest JDK 17+.
- If you have Gradle installed, make sure you use Gradle 8.1 or later.
- Install and configure the latest Android Studio for Android samples.
- Install and configure the latest Xcode for iOS samples.
Use the KDoctor tool to ensure that your development environment is configured correctly:
-
Install KDoctor with Homebrew:
brew install kdoctor
-
Run KDoctor in your terminal:
kdoctor
If everything is set up correctly, you'll see valid output:
Environment diagnose (to see all details, use -v option): [✓] Operation System [✓] Java [✓] Android Studio [✓] Xcode [✓] Cocoapods Conclusion: ✓ Your system is ready for Kotlin Multiplatform Mobile development!
Otherwise, KDoctor will highlight which parts of your setup still need to be configured and will suggest a way to fix them.
- Try opening an example project in IntelliJ IDEA or in Fleet. You should get completion in the module.yaml files: