This project uses Gradle for most build tasks.
- Make sure to uninstall/reinstall the Android SDK (SDK folder/file layouts have changed and setup is based on SDK r22+)
- Install the Android 4.0.3 (API 15) and Android Support Package from the SDK tools
- Proceed with any of the setup instructions below
Note: Make sure the "Google Repository" and "Android Repository" to be installed via the SDK manager.
- Done. Run some Gradle commands. :)
More details about the Android Gradle Plugin is on the tools website.
Below are some basic Gradle commands to do some common tasks. (Assumes you are in the project root directory.)
# available tasks
./gradlew tasks
# debug build
./gradlew build
# debug build, and install on device
./gradlew installDebug
# release build, no unit tests
./gradlew assembleRelease
# run the unit tests
./gradlew test