Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 2.06 KB

Setup.md

File metadata and controls

56 lines (40 loc) · 2.06 KB

Check your IDE

  • 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.

Prepare the environment

  • 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:

  1. Install KDoctor with Homebrew:

    brew install kdoctor
    
  2. 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:

What's next

See the tutorial and documentation. Read how to use Amper in IntelliJ IDEA and Fleet. Try opening the example projects: