Update Build Using Nix section to reference documentation on building for a specific architecture

This commit is contained in:
Paul van Leeuwen 2023-07-11 22:44:47 +02:00 committed by GitHub
parent ae2ad0fd54
commit 3405a7bc21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,10 @@ nix develop
``` ```
Nix development environment contains Rust with cross-compilation toolchains and Android SDK. Nix development environment contains Rust with cross-compilation toolchains and Android SDK.
To [build an APK](https://developer.android.com/studio/build/building-cmdline), run: To [build an APK](https://developer.android.com/studio/build/building-cmdline) run the following 2 steps.
Note that the first step may take some time to build for all architectures. You can optionally read
[the first comment block in the `ndk-make.sh` script](https://github.com/deltachat/deltachat-android/blob/master/scripts/ndk-make.sh)
for pointers on how to build for a specific architecture.
``` ```
$ scripts/ndk-make.sh $ scripts/ndk-make.sh
$ ./gradlew assembleDebug $ ./gradlew assembleDebug