1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-30 00:01:19 +00:00
syncthing-android/README.md
2016-11-10 01:41:53 +01:00

2.7 KiB

syncthing-android

Build Status License: MPLv2

A wrapper of Syncthing for Android.

screenshot 1 screenshot 2 screenshot 3

Get it on Google Play Get it on F-Droid

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

This repository is using external dependencies so you have to initialize all submodules with --recursive option first time: git clone https://github.com/syncthing/syncthing-android.git --recursive.

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 prepare a new release, execute ./prepare-release.bash, and follow the instructions.

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 and syncthing-linux-arm archives from Syncthing releases and extract them. In each there is a syncthing executable. Rename and place both of these to libs/x86/libsyncthing.so and libs/armeabi/libsyncthing.so respectively. Use ./gradlew assembleDebug in the project directory to compile the APK.

License

The project is licensed under the MPLv2.