Skip to main content

Crate apk

Crate apk 

Source
Expand description

Build, align, sign, verify, and inspect Android APKs without SDK subprocesses.

ApkBuilder compiles manifests and resources, packages native libraries, and writes atomically. sign::Signer signs existing APKs; sign::verify checks signature integrity and scheme coverage without establishing trust.

Re-exports§

pub use build::ApkBuilder;
pub use error::Error;
pub use error::Result;
pub use error::ValueError;
pub use manifest::Manifest;
pub use res::Resources;
pub use types::*;

Modules§

android
Public resources of the Android framework (the android: namespace).
archive
The ZIP container, with the rules APKs add on top.
build
Building APKs.
error
Error types.
manifest
AndroidManifest.xml.
native
Native libraries: ELF inspection and Android’s loading requirements.
prelude
Common building, signing, and reading types.
res
Android resource codecs.
sign
APK v1/v2/v3 signing, verification, and identity loading.
types
Validated primitive values shared across the crate.
xml
Android binary XML (AXML): the compiled form of AndroidManifest.xml and res/xml/* files.

Structs§

Apk
An APK opened for reading.

Enums§

Content
Input bytes, or a file streamed when an archive is written.