1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-23 18:35:54 +00:00

Improve documentation

This commit is contained in:
klaus 2014-08-16 21:19:23 +02:00
parent 9fa8d28644
commit 73c4cd3405

View file

@ -6,8 +6,8 @@ A wrapper of [syncthing](https://github.com/calmh/syncthing) for Android.
## Building ## Building
There are multiple ways to get the native syncthing binary: To get syncthing app for android running on you device/emulator the native syncthing binary has to be available. There are multiple ways to get the native syncthing binary:
- open a syncthing apk running on your device as a zip, extract the `lib/` folder into your project directory and rename it to `libs/`. - open a syncthing apk (the one taken from the play store) running on your device as a zip, extract the `lib/` folder into your project directory and rename it to `libs/`.
- Depending on your target architecture, download `syncthing-linux-386`, `syncthing-linux-armv5`, `syncthing-linux-armv7` or `syncthing-linux-mips` from [syncthing releases](https://github.com/calmh/syncthing/releases), and extract the binary to `libs/x86/libsyncthing.so`, `libs/armeabi-v7a/libsyncthing.so`, `libs/armeabi/libsyncthing.so` or `libs/mips/libsyncthing.so` respectively. - Depending on your target architecture, download `syncthing-linux-386`, `syncthing-linux-armv5`, `syncthing-linux-armv7` or `syncthing-linux-mips` from [syncthing releases](https://github.com/calmh/syncthing/releases), and extract the binary to `libs/x86/libsyncthing.so`, `libs/armeabi-v7a/libsyncthing.so`, `libs/armeabi/libsyncthing.so` or `libs/mips/libsyncthing.so` respectively.
- Set up a syncthing compile and run `gradle buildNative` in your syncthing-android directory. - Set up a syncthing compile and run `gradle buildNative` in your syncthing-android directory.