pub struct Aapt2;
Expand description

AAPT2 (Android Asset Packaging Tool) is a build tool that Android Studio and Android Gradle Plugin use to compile and package your app’s resources. [AAPT2] parses, indexes, and compiles the resources into a binary format that is optimized for the Android platform

Implementations

Compiles resources incrementally from given resource path

Compiles resources from given resource dir

Compiles resources from given resource zip

Links given list of resources into an APK

Links resources from given /compiled_res folder into an APK

Used for printing information about the APK you generated using the link command

Prints the differences in resources of two APKs

Preforms resource optimizations on an APK

Converts an apk between binary and proto formats

Prints the version of aapt2

Runs aapt in daemon mode. Each subsequent line is a single parameter to the command. The end of an invocation is signaled by providing an empty line

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.