Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 2.43 KB

Setup.md

File metadata and controls

61 lines (43 loc) · 2.43 KB

Check your IDE

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 or Android Studio, install the Amper plugin:

Prepare the environment

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

  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, Android Studio 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, Android Studio and Fleet. Try opening the examples projects: