Registry / other / ndk
library0.9.0rscratesunverified

Safe Rust bindings to the Android NDK, enabling native Android development.

# Cargo.toml [dependencies] ndk = "0.9.0"
INSTALL
IMPORT
SIG · NDK
N
ndk
otherrustv0.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NativeActivity
use ndk::native_activity::NativeActivity;

Demonstrates importing the NDK native activity type.

use ndk::native_activity::NativeActivity; fn main() { // Example: accessing native activity (requires Android context) println!("NDK bindings loaded"); }
Debug
Known issues
gotchaRequires Android NDK and target-specific setup.
fix
Ensure you have the Android NDK installed and use appropriate target triple (e.g., aarch64-linux-android).
affects: >=0.9.0
Upgrade
Version history
0.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ndk — cargo add ndk · libregistry