Skip to content

BuildingK9

cketti edited this page · 42 revisions

How to build K-9 Mail

Introduction

K-9 Mail targets Java 1.7. The current development version of K-9 Mail runs on Android 4.0.3 (API level 15) and newer versions.

Requirements

Install the following via the Android SDK Manager:

  • Android SDK Build-tools 23.0.1
  • SDK Platform 23
  • Android Support Repository
  • Android Support Library

Building with Android Studio

If you want to modify K-9 Mail we highly recommend using Android Studio. You need at least version 1.5.

Use the "Import project" functionality of Android Studio to start the import wizard. Then select K-9 Mail's settings.gradle file from the project root. The rest should happen automatically.

Building with Gradle on the command line

To create a debug build on Unix-based systems use the command:

./gradlew assembleDebug

On Windows open the command prompt and enter the command:

gradlew.bat assembleDebug
Something went wrong with that request. Please try again.