Development environment setup

Install basic tools

Setup java JDK

Java JDK comes embedded in Android studio and is often more compatible, therefore we don't need to manually download and install JDK. However Android studio by default uses systems JDK so project structure needs to be changed in order to use embedded one.

Import code style

To make working with the rest of the team easier, we all use the same code style settings. This ensures there are no unnecessary changes caused by code style differences and also makes it easier to conform to the established ckeckstyle rules. The code style includes Java, Kotlin, and XML styles.

To import Infinum's code style:

  1. Download code style file
  2. Open Preferences -> Editor -> Code Style
  3. Click on Manage next to Scheme picker
  4. Import the downloaded file

Some options in our code style are optional:

Other useful macOS tools