tree: f0097638e55265cf6265e684068894b7b7d55060 [path history] [tgz]
  1. compile/
  2. diff/
  3. dump/
  4. filter/
  5. flatten/
  6. integration-tests/
  7. io/
  8. java/
  9. jni/
  10. link/
  11. process/
  12. proto/
  13. split/
  14. test/
  15. tools/
  16. unflatten/
  17. util/
  18. xml/
  19. .clang-format
  20. Android.bp
  21. AppInfo.h
  22. ConfigDescription.cpp
  23. ConfigDescription.h
  24. ConfigDescription_test.cpp
  25. Debug.cpp
  26. Debug.h
  27. Diagnostics.h
  28. DominatorTree.cpp
  29. DominatorTree.h
  30. DominatorTree_test.cpp
  31. Flags.cpp
  32. Flags.h
  33. Format.proto
  34. LoadedApk.cpp
  35. LoadedApk.h
  36. Locale.cpp
  37. Locale.h
  38. Locale_test.cpp
  39. Main.cpp
  40. NameMangler.h
  41. NameMangler_test.cpp
  42. readme.md
  43. Resource.cpp
  44. Resource.h
  45. Resource_test.cpp
  46. ResourceParser.cpp
  47. ResourceParser.h
  48. ResourceParser_test.cpp
  49. ResourceTable.cpp
  50. ResourceTable.h
  51. ResourceTable_test.cpp
  52. ResourceUtils.cpp
  53. ResourceUtils.h
  54. ResourceUtils_test.cpp
  55. ResourceValues.cpp
  56. ResourceValues.h
  57. SdkConstants.cpp
  58. SdkConstants.h
  59. SdkConstants_test.cpp
  60. Source.h
  61. StringPool.cpp
  62. StringPool.h
  63. StringPool_test.cpp
  64. ValueVisitor.h
  65. ValueVisitor_test.cpp
tools/aapt2/readme.md

Android Asset Packaging Tool 2.0 (AAPT2) release notes

Version 2.5

aapt2 link ...

  • Transition XML versioning: Adds a new flag --no-version-transitions to disable automatic versioning of Transition XML resources.

Version 2.4

aapt2 link ...

  • Supports <meta-data> tags in <manifest>.

Version 2.3

aapt2

  • Support new font resource type.

Version 2.2

aapt2 compile ...

aapt link ...

  • Duplicate resource filtering: removes duplicate resources in dominated configurations that are always identical when selected at runtime. This can be disabled with --no-resource-deduping.

Version 2.1

aapt2 link ...

  • Configuration Split APK support: supports splitting resources that match a set of configurations to a separate APK which can be loaded alongside the base APK on API 21+ devices. This is done using the flag --split path/to/split.apk:<config1>[,<config2>,...].
  • SDK version resource filtering: Resources with an SDK version qualifier that is unreachable at runtime due to the minimum SDK level declared by the AndroidManifest.xml are stripped.

Version 2.0

aapt2 compile ...

  • Pseudo-localization: generates pseudolocalized versions of default strings when the --pseudo-localize option is specified.
  • Legacy mode: treats some class of errors as warnings in order to be more compatible with AAPT when --legacy is specified.
  • Compile directory: treats the input file as a directory when --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 ...

  • Automatic attribute versioning: adds version qualifiers to resources that use attributes introduced in a later SDK level. This can be disabled with --no-auto-version.
  • Min SDK resource filtering: removes resources that can't possibly be selected at runtime due to the application's minimum supported SDK level.