cargo-ndk
Build Rust projects for Android with the Android NDK
cargo-ndk is a Rust development utility that simplifies cross-compiling native libraries and executable binaries for Android using the Android Native Development Kit (NDK). It automatically configures the environment variables and toolchain settings required for Android compilation. Developers can target multiple processor architectures within a single build command. Generated shared libraries are organized according to the directory structure expected by Android projects. Automatic NDK detection simplifies configuration when the toolkit is installed through Android Studio. Integrated runner functionality enables developers to execute compiled binaries and automated tests directly on connected Android devices through ADB. Environment variables provide additional control over target architectures, Android API levels, and output directories.