This is a sample Android App developed during the Safaricom Talent Hackathon.
First, clone the repo:
git clone https://github.com/GathuaKiragu/-52WeekChallengeApp.git
Building the sample then depends on your build tools.
(These instructions were tested with Android Studio version 2.2.2, 2.2.3, 2.3, and 2.3.2)
- Open Android Studio and select
File->Open...
or from the Android Launcher selectImport project (Eclipse ADT, Gradle, etc.)
and navigate to the root directory of your project. - Select the directory or drill in and select the file
build.gradle
in the cloned repo. - Click 'OK' to open the the project in Android Studio.
- A Gradle sync should start, but you can force a sync and build the 'app' module as needed.
- Build the APK:
./gradlew build
Connect an Android device to your development machine.
- Select
Run -> Run 'app'
(orDebug 'app'
) from the menu bar - Select the device you wish to run the app on and click 'OK'
- Install the debug APK on your device
./gradlew installDebug
- Start the APK:
<path to Android SDK>/platform-tools/adb -d shell am start Activity