HELLO·Android
系统源代码
IT资讯
技术文章
我的收藏
注册
登录
-
我收藏的文章
创建代码块
我的代码块
我的账号
Android 10
|
10.0.0_r6
下载
查看原文件
收藏
根目录
frameworks
base
tools
aapt2
readme.md
# Android Asset Packaging Tool 2.0 (AAPT2) release notes ## Version 2.19 - Added navigation resource type. - Fixed issue with resource deduplication. (bug 64397629) - Added a daemon mode for issuing commands. This is invoked with `aapt2 daemon`. Command line arguments are separated by newlines, with an empty line signalling the end of a command. Sending `EOF (Ctrl+D)` to the daemon will exit. - Fixed an issue where multiple permissions defined in AndroidManifest.xml would generate conflicting definitions for the same Java constant in Manifest.java. Changed the implementation to match that of `aapt`, which will take the last definition as the sole definition. A warning is logged if such a scenario occurs. (bug 64472942) - Made improvements to handling of paths on Windows. This should resolve a lot of issues with Unicode paths. (bug 62336414, 63830502) ## Version 2.18 ### `aapt2 ...` - Fixed issue where enum values were interpreted as integers and range checked. (bug 62358540) - Fixed issue where ints and floats with trailing whitespace would not be parsed. (bug 62902869) - Fixed issue where `--custom-package` was not honored when writing Manifest.java. (bug 62826426) - Add `
` and its nested tags to the allowed set of XML tags in AndroidManifest.xml. (bug 62839863) - Fixed issue where Java classes referenced from fragments and menus were not added to the set of Proguard keep rules. (bug 62216174) - Fixed issue where escaped unicode characters would generate malformed UTF-8. (bug 62839202) - Fixed issue where apostrophes or quotes used in XML attribute values were ignored. (bug 62840406, 62840718) ## Version 2.17 ### `aapt2 ...` - Fixed issue where symlinks would not be followed when compiling PNGs. (bug 62144459) - Fixed issue where overlays that declared `
` did not compile. (bug 38355988) - Fixed issue where `%n` in a string resource was interpreted as a format argument. (bug 37132275) - Allow empty resources to compile, giving them a value of `""` or `@null`, depending on the accepted formats. (bug 38425050) - Resources declared via `
` with no format attribute were changed to accept all resource types. (bug 62260121) - Allow `
` element under `
` in AndroidManifest.xml. (bug 62189611) - Fix issue where `--no-version-vector` did not apply to `pathInterpolator` and `objectAnimator`. (bug 62211148) - Fix issue where overlaid `