blob: 800103307e2b11a9fff11044ba959b751db4419e [file] [log] [blame] [view]
Adam Lesinski0368ebf2016-07-26 12:55:51 -07001# Android Asset Packaging Tool 2.0 (AAPT2) release notes
2
Adam Lesinski5119e512016-12-05 19:48:20 -08003## Version 2.4
4### `aapt2 link ...`
5- Supports `<meta-data>` tags in `<manifest>`.
6
Adam Lesinskic0c36632016-10-19 18:37:53 -07007## Version 2.3
8### `aapt2`
9- Support new `font` resource type.
10
Adam Lesinski5cb05302016-09-06 17:34:06 -070011## Version 2.2
12### `aapt2 compile ...`
13- Added support for inline complex XML resources. See
14 https://developer.android.com/guide/topics/resources/complex-xml-resources.html
Alexandria Cornwall77788eb2016-09-06 15:16:49 -070015### `aapt link ...`
16- Duplicate resource filtering: removes duplicate resources in dominated configurations
17 that are always identical when selected at runtime. This can be disabled with
18 `--no-resource-deduping`.
Adam Lesinski5cb05302016-09-06 17:34:06 -070019
Adam Lesinski36c73a52016-08-11 13:39:24 -070020## Version 2.1
21### `aapt2 link ...`
22- Configuration Split APK support: supports splitting resources that match a set of
23 configurations to a separate APK which can be loaded alongside the base APK on
24 API 21+ devices. This is done using the flag
25 `--split path/to/split.apk:<config1>[,<config2>,...]`.
26- SDK version resource filtering: Resources with an SDK version qualifier that is unreachable
27 at runtime due to the minimum SDK level declared by the AndroidManifest.xml are stripped.
28
Adam Lesinski0368ebf2016-07-26 12:55:51 -070029## Version 2.0
30### `aapt2 compile ...`
31- Pseudo-localization: generates pseudolocalized versions of default strings when the
32 `--pseudo-localize` option is specified.
33- Legacy mode: treats some class of errors as warnings in order to be more compatible
34 with AAPT when `--legacy` is specified.
35- Compile directory: treats the input file as a directory when `--dir` is
36 specified. This will emit a zip of compiled files, one for each file in the directory.
37 The directory must follow the Android resource directory structure
38 (res/values-[qualifiers]/file.ext).
39
40### `aapt2 link ...`
41- Automatic attribute versioning: adds version qualifiers to resources that use attributes
42 introduced in a later SDK level. This can be disabled with `--no-auto-version`.
43- Min SDK resource filtering: removes resources that can't possibly be selected at runtime due
44 to the application's minimum supported SDK level.