2942072594
The upgraded compile SDK requires an upgrade of gradle, which introduces a build error with api lvl <21: > Error while processing [...]/app/src/main/res/drawable/ic_close_24dp.xml : Invalid color value ?attr/colorControlNormal Explanation: https://stackoverflow.com/a/49501629 Also minor NDK update |
||
---|---|---|
.github | ||
.tx | ||
app | ||
docker | ||
gradle/wrapper | ||
graphics | ||
scripts | ||
syncthing | ||
.gitignore | ||
.gitmodules | ||
build.gradle | ||
CONTRIBUTING.md | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
ISSUE_TEMPLATE.md | ||
LICENSE | ||
prepare-release.bash | ||
README.md | ||
settings.gradle |
syncthing-android
A wrapper of Syncthing for Android.
Translations
The project is translated on Transifex.
Dev
Language mappings are defined in .tx/config
, with the second code being the one from transifex. Google play supported languages: https://support.google.com/googleplay/android-developer/table/4419860. Android supported languages: https://stackoverflow.com/questions/7973023/what-is-the-list-of-supported-languages-locales-on-android. If a new language is added on transifex that's not supported, add them to deleteUnsupportedPlayTranslations
in app/build.gradle
.
Building
Dependencies
- Android SDK, with
$ANDROID_HOME
pointing to it (you can skip this if you are using Android Studio) - Android NDK (you should install the required version (
ext.ndkVersionShared
in./build.gradle
) with the usual tools, such that it's located within$ANDROID_HOME/ndk/
). - Go (see here for the required version)
- Java Version 11 (you scan skip this if you are using Android Studio, otherwise you might need to set
$JAVA_HOME
accordingly)
Build instructions
Make sure you clone the project with
git clone https://github.com/syncthing/syncthing-android.git --recursive
. Alternatively, run
git submodule init && git submodule update
in the project folder.
Build Syncthing using ./gradlew buildNative
. Then use ./gradlew assembleDebug
or
Android Studio to build the apk.
License
The project is licensed under the MPLv2.