mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 03:11:30 +00:00
build: Update windows build instructions (fixes #219)
This commit is contained in:
parent
6f01894c67
commit
6048b95591
1 changed files with 9 additions and 5 deletions
10
README.md
10
README.md
|
@ -39,9 +39,13 @@ To check for updated gradle dependencies, run `gradle dependencyUpdates`. Additi
|
|||
|
||||
### 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](https://github.com/syncthing/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.
|
||||
To build the Syncthing app on Windows we need to have cygwin installed.
|
||||
|
||||
From a cygwin shell in the project directory, build Go using `./make-go.bash [arch]`
|
||||
After Go is built, compile syncthing using `./make-syncthing.bash [arch]`
|
||||
|
||||
Lastly, use `./gradlew assembleDebug` in the project directory to compile the APK,
|
||||
or use Android Studio to build/deploy the APK.
|
||||
|
||||
# License
|
||||
|
||||
|
|
Loading…
Reference in a new issue