Installation

Check your environment

To make sure everything works as expected, install and run the KDoctor tool:

KDoctor works on macOS only. If you use a different operating system, skip this step.

  1. In the Android Studio terminal or your command-line tool, run the following command to install the tool using Homebrew:

    brew install kdoctor

    If you don't have Homebrew yet, install it or see the KDoctor README for other ways to install it.

  2. After the installation is completed, call KDoctor in the console:

    kdoctor
  3. If KDoctor diagnoses any problems while checking your environment, review the output for issues and possible solutions:

    • Fix any failed checks ([x]). You can find problem descriptions and potential solutions after the * symbol.

    • Check the warnings ([!]) and successful messages ([v]). They may contain useful notes and tips, as well.

    You may ignore KDoctor's warnings regarding the CocoaPods installation. In your first project, you will use a different iOS framework distribution option.

If you see checks like this, you're ready to go.

Last updated