![]() Select "+" from the upper left corner and select Junit.Open the "Build variants" tool window (on the left) and change the test artifact to "Unit tests".Select "+" from the upper left corner and select Android Application.To build the project on Android Studio, click Build and select Make Project. Test report : opensrp-app/build/reports/androidTests/connected/flavors/arm/index.htmlīuilding and Running from Android Studio : Debug Mode : gradlew connectedAndroidTestArmDebug.Test report : opensrp-app/build/reports/tests/armRelease/index.html Test report : opensrp-app/build/reports/tests/armDebug/index.html Apk file can be found in opensrp-app/build/outputs/apk.Mac Os and Linux : ./gradlew assembleDebug.Login-username - demotest, login-password - Demot123Ĭheck app.properties file in "drishti-app/asset/" folder to change the demo server url to your own instance of opensrp server. Install gradle, you can obtain it from the Gradle home page ( ).Start Genymotion emulator and create a Virtual device with API level 16 and screen resolution 1024 X 600.Follow ARM Translation instructions to get OpenSRP app working on Genymotion.Genymotion: Alternatively, you can also install Genymotion Android Emulator which is much faster than the default Android emulator. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |