mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-27 05:11:30 +00:00
Wrapper of syncthing for Android.
Felix Ableitner
de898048b7
Conflicts: src/main/java/com/nutomic/syncthingandroid/syncthing/PostTask.java src/main/java/com/nutomic/syncthingandroid/syncthing/RestApi.java |
||
---|---|---|
src/main | ||
.gitignore | ||
build-native.sh | ||
build.gradle | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md |
syncthing-android
A port of syncthing to 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 tolibs/
. - Depending on your target architecture, download
syncthing-linux-386
,syncthing-linux-armv5
,syncthing-linux-armv7
orsyncthing-linux-mips
from syncthing releases, and extract the binary tolibs/x86/libsyncthing.so
,libs/armeabi-v7a/libsyncthing.so
,libs/armeabi/libsyncthing.so
orlibs/mips/libsyncthing.so
respectively. - Set up a syncthing compile and run
gradle buildNative
in your syncthing-android directory.
Then, run gradle assembleDebug
.
License
All code is licensed under the MIT License.