pub fn validate_apk_archive(
apk: &Utf8Path,
expectation: &ApkExpectation,
) -> Result<ApkValidation, AndroidError>Expand description
Validate ZIP safety, resources, DEX headers, and ELF ABI headers without trusting build tools.
ยงErrors
Returns an error for malformed/unsafe archives or any unmet package, DEX, resource, or ABI invariant.