diff --git a/README.md b/README.md index f20194c..e17d535 100644 --- a/README.md +++ b/README.md @@ -83,12 +83,9 @@ after you get a few things set up. Most importantly, you need to install [`cargo-ndk`](https://github.com/bbqsrc/cargo-ndk). ```shell -cargo install cargo-ndk --version 3.5.4 +cargo install cargo-ndk ``` -NOTE: cargo-ndk is temporarily held back due to [this issue](https://github.com/bbqsrc/cargo-ndk/issues/137) -which breaks workspaces. - If you've tried building the Rust library already and you have rustup, the requisite targets will probably be installed automatically. If not, follow the steps in the [`cargo-ndk` README](https://github.com/bbqsrc/cargo-ndk) diff --git a/android/core/build.gradle b/android/core/build.gradle index 889744e..d7b33b5 100644 --- a/android/core/build.gradle +++ b/android/core/build.gradle @@ -48,6 +48,7 @@ dependencies { cargoNdk { module = "../rust" // Directory containing Cargo.toml librariesNames = ["libfoobar.so"] + extraCargoBuildArguments = ["-p", "foobar"] } android.libraryVariants.all { variant ->