aapt2 link ...
aapt2 link ...
aapt2 link ...
--enable-sparse-encoding
flag.aapt2 optimize ...
--target-densities
list of densities.link
phase but this covers apps built with aapt
).--enable-sparse-encoding
flag if possible (minSdkVersion >= O or resource qualifier >= v26).aapt2 link ...
--shared-lib
flag. Build a client of a shared library by simply including it via -I
.aapt2 compile ...
aapt2
configVarying
resource type.<bag>
tag and treat as <style>
regardless of type.<feature-group>
manifest tag verification.<meta-data>
tag support to <instrumentation>
.aapt2 link ...
--no-version-transitions
to disable automatic versioning of Transition XML resources.aapt2 link ...
<meta-data>
tags in <manifest>
.aapt2
font
resource type.aapt2 compile ...
aapt link ...
--no-resource-deduping
.aapt2 link ...
--split path/to/split.apk:<config1>[,<config2>,...]
.aapt2 compile ...
--pseudo-localize
option is specified.--legacy
is specified.--dir
is specified. This will emit a zip of compiled files, one for each file in the directory. The directory must follow the Android resource directory structure (res/values-[qualifiers]/file.ext).aapt2 link ...
--no-auto-version
.