Module aapt2

Source
Expand description

Android Asset Packaging Tool 2.0 (AAPT2). https://developer.android.com/studio/command-line/aapt2 https://android.googlesource.com/platform/frameworks/base/+/master/tools/aapt2

The main idea behind AAPT2, apart from new features, is that it divides the ‘package’ step into two: ‘compile’ and ‘link’. It improves performance, since if only one file changes, you only need to recompile that one file and link all the intermediate files with the ‘link’ command.

Structs§

Aapt2
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
Aapt2Compile
Compile
Aapt2Convert
Converts an apk between binary and proto formats.
Aapt2Dump
Dump
Aapt2Link
Link
Aapt2Optimize
Preforms resource optimizations on an APK

Enums§

OutputFormat
SubCommand
Visibility

Functions§

aapt2_tool
Find aapt2 executable binary file in SDK and initialize it