mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 14:21:16 +00:00
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 |
||
---|---|---|
.. | ||
Dockerfile | ||
prebuild.sh | ||
README.md |
How to use this
- Build the docker image:
docker build -t syncthing-android-builder:latest .
- Checkout syncthing-android somewhere (for the sake of discussion let's say /tmp/syncthing-android)
- Inside /tmp/syncthing-android, do
git submodule init; git submodule update
- Run
docker run --rm -v /tmp/syncthing-android:/mnt syncthing-android-builder ./gradlew buildNative assembleDebug
- Retrieve APKs from /tmp/syncthing-android/app/build/outputs