Yet another implementation for BC-UR registries.
- Install Android NDK 22.1.7171670
Open your
Android Studio
Open
SDK manager
Open tab
SDK tools
Check
Show package Details
Found target version.
- Install cargo-lipo, cbindgen and cargo-ndk
cargo install cargo-lipo
cargo install cargo-ndk
- Add rust components
Android:
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android
iOS:
rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim
- Config
Android:
Make sure you only have NDK 22.1.7171670, if not, you should setup the environment variable firstly:
Copy the file .ndk_home.example and change the content to your version;
- Build
Debug:
make
Release:
source .ndk_home && make release