Merge pull request 'doc(dubp_rs): add missing setup step' (#2) from librelois/gecko:dubp_rs-doc into dev-pagedlist

Reviewed-on: #2
This commit is contained in:
poka 2021-01-04 18:55:34 +01:00
commit 14ad52b9ae
1 changed files with 7 additions and 1 deletions

View File

@ -7,11 +7,17 @@ Flutter package that bind [dubp-rs-libs] Rust crates.
### Prerequisites
* Android SDK
* Android NDK
* Android **N**DK (**Native** Development Kit)
* Rust and cargo
* Cargo plugin cargo-make: `cargo install cargo-make`
* LLVM/Clang (see dedicated section below)
You must indicate where the SDK and NDK are located via the `ANDROID_SDK_ROOT` and `ANDROID_NDK_HOME` environment variables.
For example:
export ANDROID_SDK_ROOT="/home/user/dev/android_sdk"
export ANDROID_NDK_HOME="/home/user/dev/android_sdk/ndk/22.0.7026061"
You will also need to add targets for all Android architectures:
```sh