1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +00:00

Merge pull request #88 from kDot/master

Improve README wording.
This commit is contained in:
Felix Ableitner 2014-08-16 22:09:36 +02:00
commit 17478ccd23

View file

@ -6,8 +6,8 @@ A wrapper of [syncthing](https://github.com/calmh/syncthing) for Android.
## Building
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/`.
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 (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.
- Set up a syncthing compile and run `gradle buildNative` in your syncthing-android directory.