A simple pedometer app with MVVM architecture written in Kotlin
To compile and run the project you'll need:
- Android SDK
- Android N (API 24)
- Android SDK Tools
- Android SDK Build Tools
24.0.2 - Android Support Repository
- Kotlin
1.0.4-eap-100 - Kotlin plugin for Android Studio
To build, install and run a debug version, run this from the root of the project:
./gradlew assembleDebug
To run unit tests on your machine:
./gradlew test
To run instrumentation tests on connected devices:
./gradlew connectedAndroidTest
A release build needs to be signed with an Android Keystore. The easiest way to generate a keystore is to open
Android Studio and go to Build -> Generate Signed Apk -> Create New... After that you need to create a
signing.properties file in the root directory and add the following info to it:
STORE_FILE=/path/to/your.keystore
STORE_PASSWORD=yourkeystorepass
KEY_ALIAS=projectkeyalias
KEY_PASSWORD=keyaliaspasswordRunning ./gradlew assembleRelease will then build and sign a release version of the app.