rust-android-ndk
CommunityCross-compile Rust for Android with Gradle JNI.
Authorpo4yka
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables developers to compile Rust code into Android native libraries (.so) and integrate them into Android projects via Gradle JNI, streamlining cross-platform native development and performance-sensitive modules.
Core Features & Use Cases
- Cross-compile Rust crates for Android targets (aarch64-linux-android, armv7-linux-androideabi, x86_64-linux-android, i686-linux-android) and produce stable .so artifacts.
- Build and link native Rust libraries using cargo alongside the Android NDK toolchain, with a standard entrypoint (:core:engine:buildRustNativeLibs) registered by the ripdpi Android convention plugin.
- Integrate the resulting libraries into an Android app via the Gradle jniLibs mechanism for seamless runtime loading and packaging.
Quick Start
Run the Gradle task :core:engine:buildRustNativeLibs to compile the Rust libraries and generate the Android-compatible .so files.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rust-android-ndk Download link: https://github.com/po4yka/RIPDPI/archive/main.zip#rust-android-ndk Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.