This is a Gradle-based project that works best with Android Studio.
-
Install the following software: - Android SDK: http://developer.android.com/sdk/index.html - Gradle: http://www.gradle.org/downloads - Android Studio: http://developer.android.com/sdk/installing/studio.html
-
Run the Android SDK Manager by pressing the SDK Manager toolbar button in Android Studio or by running the
android
command in a terminal window. -
In the Android SDK Manager, ensure that the following are installed, and are updated to the latest available version: - Tools > Android SDK Platform-tools (rev 21 or above) - Tools > Android SDK Tools (rev 23.0.5 or above) - Tools > Android SDK Build-tools version 20 - Tools > Android SDK Build-tools version 21 (rev 21.1.2 or above) - Android 4.0.3 > SDK Platform (API 15) - Extras > Android Support Library - Extras > Google Play services
-
Create a file in your working directory called local.properties, containing the path to your Android SDK. Use local.properties.example as a model. (On Windows, use a double-backslash (
\\
) as a path separator!) -
Import the project in Android Studio:
- Press File > Import Project
- Navigate to and choose the settings.gradle file in this project
- Press OK
-
Choose Build > Make Project in Android Studio or run the following command in the project root directory:
./gradlew clean assembleDebug
-
To install on your test device:
./gradlew installDebug