Skip to main content

library

Function library 

Source
fn library(args: &BuildAndroidArgs) -> Result<(), String>
Expand description

Cross-compile the libraries and stage them for the APK.

One cargo ndk run builds them all: it passes the packages through to cargo build and writes every resulting .so into the same jniLibs directory, which is what the activities load from at run time.