1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-02 01:01:17 +00:00

Update README.md with buld instructions (fixes #776)

This commit is contained in:
Roman Shishkin 2016-11-10 00:12:33 +01:00
parent c961562c3c
commit edd3a86805

View file

@ -26,6 +26,8 @@ Translations can be updated using the [Transifex client](http://docs.transifex.c
### Build instructions ### Build instructions
This repository is using external dependencies so you have to initialize all submodules with --recursive option first time: `git clone https://github.com/syncthing/syncthing-android.git --recursive`.
Set the `ANDROID_NDK` environment variable to the Android NDK folder (e.g. `export ANDROID_NDK=/opt/android_ndk`). Set the `ANDROID_NDK` environment variable to the Android NDK folder (e.g. `export ANDROID_NDK=/opt/android_ndk`).
Build Go and Syncthing using `./make-all.bash`. Build Go and Syncthing using `./make-all.bash`.
Use `./gradlew assembleDebug` in the project directory to compile the APK. Use `./gradlew assembleDebug` in the project directory to compile the APK.