mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 03:11:30 +00:00
commit
17478ccd23
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue