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.

Features

  • Simplified Rust cross-compilation for Android through automated NDK toolchain configuration
  • Multiple Android architecture targets including ARM64, ARMv7, x86, and x86-64
  • Automatic shared library organization following Android-compatible jniLibs directory structures
  • Automatic detection of installed Android NDK versions with customizable installation paths
  • Direct execution and automated testing of compiled Rust binaries on connected Android devices
  • Configurable target architectures, Android API levels, output directories, and build environment variables

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow cargo-ndk

cargo-ndk Web Site

Other Useful Business Software
PRTG Catches Network Issues Before They Cause Downtime Icon
PRTG Catches Network Issues Before They Cause Downtime

Threshold-based alerts flag problems early, so your team can act before users notice, not after.

Reactive troubleshooting usually means hearing about a problem from frustrated users, not your monitoring tool. PRTG sets threshold-based alerts across devices, servers and applications, notifying your team by email, SMS or push the moment a metric crosses a set limit. That means catching a failing disk or overloaded server before it becomes an outage and getting time back from firefighting. Start a free trial and set your first alerts today.
Download 30-Day Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of cargo-ndk!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Build Tools, Rust Cross Compilers

Registered

3 hours ago