1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-29 15:51:17 +00:00

Added another option to readme to get syncthing binary.

This commit is contained in:
Felix Ableitner 2014-06-04 01:32:02 +02:00
parent 011e009252
commit ca6b4ea827

View file

@ -7,6 +7,7 @@ A port of [syncthing](https://github.com/calmh/syncthing) to Android.
## Building ## Building
There are multiple ways to get the native syncthing binary: 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/`.
- 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.