- Use the latest IntelliJ IDEA EAP with Amper plugin for JVM and Android projects.
- Use the latest JetBrains Fleet for JVM, Android, and Kotlin Multiplatform projects.
Fleet comes preconfigured with the Amper support. If you use IntelliJ IDEA, install the Amper plugin:
The best way to get the most recent IDE versions is by using the Toolbox App.
- Install and configure the latest JDK 17+.
- 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:
See the tutorial and documentation. Read how to use Amper in IntelliJ IDEA and Fleet. Try opening the example projects: