mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-25 13:51:16 +00:00
Wrapper of syncthing for Android.
6a09c3d18f
* upgrades latest gradle and build tools * restore part of the previous removed comment |
||
---|---|---|
.tx | ||
ext | ||
gradle/wrapper | ||
graphics | ||
patches/golang/all | ||
src | ||
.gitignore | ||
.gitmodules | ||
build.gradle | ||
CONTRIBUTING.md | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
lint.xml | ||
make-all.bash | ||
make-go.bash | ||
make-syncthing.bash | ||
proguard-android.txt | ||
README.md |
syncthing-android
A wrapper of Syncthing for Android.
Translations
The project is translated on Transifex.
Translations can be updated using the Transifex client, using commands tx push -s
and tx pull -a
.
Building
Requirements
- Android SDK Platform (for the
compileSdkVersion
specified in build.gradle) - Android NDK Platform
- Android Support Repository
Build instructions
Set the ANDROID_NDK
environment variable to the Android NDK folder (e.g. export ANDROID_NDK=/opt/android_ndk
).
Build Go and Syncthing using ./make-all.bash
.
Use ./gradlew assembleDebug
in the project directory to compile the APK.
To check for updated gradle dependencies, run gradle dependencyUpdates
. Additionally, the git submodule in ext/syncthing/src/github.com/syncthing/syncthing
may need to be updated.
Building on Windows
To build the Syncthing app on Windows we need to include the native Syncthing binaries:
- Download the
syncthing-linux-386
andsyncthing-linux-arm
archives from Syncthing releases and extract them. In each there is asyncthing
executable. Rename and place both of these tolibs/x86/libsyncthing.so
andlibs/armeabi/libsyncthing.so
respectively. Use./gradlew assembleDebug
in the project directory to compile the APK.
License
The project is licensed under the MPLv2.