blob: 95c0173f921af87da9d4132a38aa0246facba15c [file] [log] [blame] [view]
Adam Lesinski0368ebf2016-07-26 12:55:51 -07001# Android Asset Packaging Tool 2.0 (AAPT2) release notes
2
3## Version 2.0
4### `aapt2 compile ...`
5- Pseudo-localization: generates pseudolocalized versions of default strings when the
6 `--pseudo-localize` option is specified.
7- Legacy mode: treats some class of errors as warnings in order to be more compatible
8 with AAPT when `--legacy` is specified.
9- Compile directory: treats the input file as a directory when `--dir` is
10 specified. This will emit a zip of compiled files, one for each file in the directory.
11 The directory must follow the Android resource directory structure
12 (res/values-[qualifiers]/file.ext).
13
14### `aapt2 link ...`
15- Automatic attribute versioning: adds version qualifiers to resources that use attributes
16 introduced in a later SDK level. This can be disabled with `--no-auto-version`.
17- Min SDK resource filtering: removes resources that can't possibly be selected at runtime due
18 to the application's minimum supported SDK level.