-
Notifications
You must be signed in to change notification settings - Fork 599
Building up Code
Assuming you have correctly setup
- Git
- Gradle
- Android Studio
Follow the steps below to get project up and running on the emulator or device and start developing on top of it:
**1. Download Zip **
**2. Extract it to your preferred location **
3. Open Android Studio
4. Click on Import Project Option
5. Browse to the directory where you cloned(extracted zip) android-client repo and Click OK
6. Let Android studio Import the project and Perform Gradle Initialisation, if any Error due to VCS Pops Up, click on Ignore Option
**7. After gradle tasks finish you will something like this **
8. Now Connect your Android Phone and Run the Project by clicking on this play button or (Ctrl + R - on Windows & ^R on Mac)
**9. Now Choose your device to run the project on. (Click on Use same device for future launches) **
10. Wait for a few seconds and app should start on your device
We are using ButterKnife Library for View Injection, this requires Support for Annotations enabled on Android Studio, Here is how you do it.
- Open Android Studio's preference and navigate to Compiler → Annotation Processors. Check "Enable annotation processing".
Once this is done you can compile and run the code on your emulator or device.
I prefer Genymotion - Android Emulator it is faster than the emulator Shipped with ADT Bundle.
#Android-Client API Documentation API: https://demo.mifos.io/api-docs/apiLive.htm