# `ndk-build` [![Actions Status](https://github.com/rust-mobile/cargo-apk/actions/workflows/rust.yml/badge.svg)](https://github.com/rust-mobile/cargo-apk/actions) [![Latest version](https://img.shields.io/crates/v/ndk-build.svg?logo=rust)](https://crates.io/crates/ndk-build) [![Documentation](https://docs.rs/ndk-build/badge.svg)](https://docs.rs/ndk-build) [![Lines of code](https://tokei.rs/b1/github/rust-mobile/cargo-apk)](https://github.com/rust-mobile/cargo-apk) ![MIT](https://img.shields.io/badge/License-MIT-green.svg) ![Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-green.svg) > **Warning** > This crate and `cargo-apk` are deprecated in favour of [`xbuild`](https://github.com/rust-mobile/xbuild). Helps [`cargo-apk`](https://crates.io/crates/cargo-apk) cross-compile libraries and package APKs in a generic, reusable Rust crate.