Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

BuildingK9

cketti edited this page · 41 revisions

How to build K-9 Mail

Introduction

K-9 Mail targets Java 1.6. 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 21.1.2
  • SDK Platform 21
  • 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.0.0.

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.