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

Android Asset Packaging Tool 2.0 (AAPT2) release notes

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.