From edd3a86805e8b527e48e808aa3d256404394a788 Mon Sep 17 00:00:00 2001 From: Roman Shishkin Date: Thu, 10 Nov 2016 00:12:33 +0100 Subject: [PATCH] Update README.md with buld instructions (fixes #776) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 80e28434..e47a21d0 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ Translations can be updated using the [Transifex client](http://docs.transifex.c ### 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`). Build Go and Syncthing using `./make-all.bash`. Use `./gradlew assembleDebug` in the project directory to compile the APK.