update readme for fdroid flavor

This commit is contained in:
Vincent 2016-02-10 18:42:48 +01:00
parent 2eac4ebb95
commit 48a98e3d25

View file

@ -47,16 +47,16 @@ Expand the Tools directory and select "Android SDK Build-tools (Version 23.0.1)"
Expand the Extras directory and install "Android Support Repository"
Select SDK Platform for API levels 21, 22, and 23.
5. Export ANDROID_HOME pointing to your Android SDK
6. Execute ``./gradlew assembleDebug``
7. You can install the app with ``adb install -r OpenKeychain/build/outputs/apk/OpenKeychain-debug-unaligned.apk``
6. Execute ``./gradlew assembleFdroidDebug``
7. You can install the app with ``adb install -r OpenKeychain/build/outputs/apk/OpenKeychain-fdroid-debug.apk``
### Run Tests
1. Use OpenJDK instead of Oracle JDK
2. Execute ``./gradlew clean testDebug --continue``
2. Execute ``./gradlew clean testFdroidDebug --continue``
### Run Jacoco Test Coverage
1. Use OpenJDK instead of Oracle JDK
2. Execute ``./gradlew clean testDebug jacocoTestReport``
2. Execute ``./gradlew clean testFdroidDebug jacocoTestReport``
3. Report is here: OpenKeychain/build/reports/jacoco/jacocoTestReport/html/index.html
### Development with Android Studio