forked from neverwell/talkback
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
16 lines (15 loc) · 751 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
To build TalkBack sources you will need:
1) Download android sdk from https://developer.android.com/sdk/installing/index.html?pkg=tools
2) Set ANDROID_HOME to the path of Android sdk folder
3) Open Android SDK manager and install
- Tools/Android SDK Build-tools 22.0.1
- Android 6.0 (API 23)
- Extras/Android Support Repository
- Extras/Google Repository
TalkBack uses gradle as build system.
Here are commands to build, install and test the project from command line:
1) Assemble debug and release apks: ./gradlew assemble
2) Assemble only debug apk: ./gradlew assembleDebug
3) Install debug apk on connected device: ./gradlew installDebug
4) Run instrumentation tests: ./gradlew instrumentationTest
5) Run robolectric tests: ./gradlew test