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 (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

Compile

Converts an apk between binary and proto formats.

Preforms resource optimizations on an APK

Enums

Functions

Find aapt2 executable binary file in SDK and initialize it