Add step to install uniffi-bindgen on README

This step exists in bdk-ffi readme, but is missing in this repo,
and build.sh fails without it.
This commit is contained in:
Caio Faustino 2022-01-02 20:25:18 +01:00 committed by Steve Myers
parent 77a5353469
commit 4656cf50b5
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051

View File

@ -69,6 +69,11 @@ val newAddress = wallet.getNewAddress()
```sh ```sh
rustup target add x86_64-linux-android aarch64-linux-android armv7-linux-androideabi i686-linux-android rustup target add x86_64-linux-android aarch64-linux-android armv7-linux-androideabi i686-linux-android
``` ```
1. Install `uniffi-bindgen`
```sh
cargo install uniffi_bindgen
```
See the [UniFFI User Guide](https://mozilla.github.io/uniffi-rs/) for more info
1. Install Android SDK and Build-Tools for API level 30+ 1. Install Android SDK and Build-Tools for API level 30+
1. Setup `$ANDROID_SDK_ROOT` and `$ANDROID_NDK_HOME` path variables (which are required by the 1. Setup `$ANDROID_SDK_ROOT` and `$ANDROID_NDK_HOME` path variables (which are required by the
build scripts), for example (NDK major version 21 is required): build scripts), for example (NDK major version 21 is required):