blob: 8bc4e8c65fac75f7fb33ec0d0a766281a6fef78b [file] [log] [blame] [view]
Adam Lesinski0368ebf2016-07-26 12:55:51 -07001# Android Asset Packaging Tool 2.0 (AAPT2) release notes
2
Adam Lesinski75421622017-01-06 15:20:04 -08003## Version 2.7
4### `aapt2 compile`
5- Fixes bug where psuedolocalization auto-translated strings marked 'translateable="false"'.
6
Adam Lesinski86d67df2017-01-31 13:47:27 -08007## Version 2.6
8### `aapt2`
9- Support legacy `configVarying` resource type.
10- Support `<bag>` tag and treat as `<style>` regardless of type.
11- Add `<feature-group>` manifest tag verification.
12- Add `<meta-data>` tag support to `<instrumentation>`.
13
Yuichi Araki4d35cca2017-01-18 20:42:17 +090014## Version 2.5
15### `aapt2 link ...`
16- Transition XML versioning: Adds a new flag `--no-version-transitions` to disable automatic
17 versioning of Transition XML resources.
18
Adam Lesinski5119e512016-12-05 19:48:20 -080019## Version 2.4
20### `aapt2 link ...`
21- Supports `<meta-data>` tags in `<manifest>`.
22
Adam Lesinskic0c36632016-10-19 18:37:53 -070023## Version 2.3
24### `aapt2`
25- Support new `font` resource type.
26
Adam Lesinski5cb05302016-09-06 17:34:06 -070027## Version 2.2
28### `aapt2 compile ...`
29- Added support for inline complex XML resources. See
30 https://developer.android.com/guide/topics/resources/complex-xml-resources.html
Alexandria Cornwall77788eb2016-09-06 15:16:49 -070031### `aapt link ...`
32- Duplicate resource filtering: removes duplicate resources in dominated configurations
33 that are always identical when selected at runtime. This can be disabled with
34 `--no-resource-deduping`.
Adam Lesinski5cb05302016-09-06 17:34:06 -070035
Adam Lesinski36c73a52016-08-11 13:39:24 -070036## Version 2.1
37### `aapt2 link ...`
38- Configuration Split APK support: supports splitting resources that match a set of
39 configurations to a separate APK which can be loaded alongside the base APK on
40 API 21+ devices. This is done using the flag
41 `--split path/to/split.apk:<config1>[,<config2>,...]`.
42- SDK version resource filtering: Resources with an SDK version qualifier that is unreachable
43 at runtime due to the minimum SDK level declared by the AndroidManifest.xml are stripped.
44
Adam Lesinski0368ebf2016-07-26 12:55:51 -070045## Version 2.0
46### `aapt2 compile ...`
47- Pseudo-localization: generates pseudolocalized versions of default strings when the
48 `--pseudo-localize` option is specified.
49- Legacy mode: treats some class of errors as warnings in order to be more compatible
50 with AAPT when `--legacy` is specified.
51- Compile directory: treats the input file as a directory when `--dir` is
52 specified. This will emit a zip of compiled files, one for each file in the directory.
53 The directory must follow the Android resource directory structure
54 (res/values-[qualifiers]/file.ext).
55
56### `aapt2 link ...`
57- Automatic attribute versioning: adds version qualifiers to resources that use attributes
58 introduced in a later SDK level. This can be disabled with `--no-auto-version`.
59- Min SDK resource filtering: removes resources that can't possibly be selected at runtime due
60 to the application's minimum supported SDK level.