What changed in Apktool from 2 to 3

3 releases numbered after v2.12.1 up to and including v3.0.3, stable releases only. v2.12.1 and v3.0.3 are the newest stable releases of 2 and 3 we track; this page follows them as new ones ship.

45 changes across 3 releases

Added 3

v3.0.2

  • Allow getting ApkInfo after decode in ApkDecoder

v3.0.1

  • Support for API 36.1 (Baklava)
  • Staged aliases support
Changed 23

v3.0.3

  • Bump commons-io dependency from 2.21.0 to 2.22.0
  • Bump Guava dependency from 33.5.0-jre to 33.6.0-jre
  • Sanity check YAML and getters for ResConfig
  • Optimize ResStringPool
  • Convert tests to XPath
  • Bump xmlunit-legacy dependency from 2.11.0 to 2.12.0
  • Bump gradle/actions from 6.1.0 to 6.2.0
  • Bump actions/checkout from 6 to 7

v3.0.2

  • Bump actions/upload-artifact from 6 to 7
  • Bump gradle/actions from 5.0.1 to 5.0.2
  • Bump gradle/actions from 5.0.2 to 6.1.0
  • Bump com.android.tools:r8 from 9.0.32 to 9.1.31
  • Internalize buffering
  • Update aapt2 binaries

v3.0.1

  • Apktool Remastered refactor restructured the codebase, with classes organized by context
  • Resource parsing refactored to use ResChunkPullParser and BinaryDataInputStream
  • Performance and sanity optimizations applied across the codebase
  • Improved renaming and injection of resources in stripped APKs
  • Updated default --res-resolve-mode in usage and modernized dummies
  • Nested dex handling refactored and --only-main-classes replaced with -a/--all-src
  • Promoted -a/--all-src to a common option
  • Introduced new BinaryXmlResourceParser and ResXmlSerializer
  • Migrated build to modern Maven publish
Fixed 19

v3.0.3

  • Fix "android:* not found" errors
  • Support empty value for zero flags

v3.0.2

  • Use item tags for incompatible formats
  • Validate type names
  • Fix slow resources.arsc decoding
  • Fix slow binary XML decoding
  • Fix build output jar naming to use underscores (apktool_*.jar)
  • Fix entry lookup performance in ResPackage
  • Support apk as library for split apks

v3.0.1

  • Corrected bad Windows aapt2 builds
  • Improved ResAttribute value formatting
  • Support building on headless servers
  • Temporary file prefix now uses the binary name aapt2
  • Renamed injected entry spec when the name already exists
  • Unknown resource configs are now handled gracefully
  • Tightened span tag parsing
  • Removed assumptions about the resource directory
  • TextUtils hotfix applied
  • Ensured proper locale in ResPrimitive

Original release notes, newest first

The list above is our reading of these notes; the originals from Connor Tumbleson are here, one fold per release.

v3.0.3
What's Changed
New Contributors

Release Blog: https://apktool.org/blog/apktool-3.0.3 Full Changelog: https://github.com/iBotPeaches/Apktool/compare/v3.0.2...v3.0.3

View originalPermalink

v3.0.2
What's Changed
New Contributors

Full Changelog: https://github.com/iBotPeaches/Apktool/compare/v3.0.1...v3.0.2

View originalPermalink

v3.0.1

[!IMPORTANT]
v3.0.0 was pulled due to missing .jar file on GitHub publish, which prevented Brew publish from working. v3.0.1 is identical to v3.0.0.

What's Changed
New Contributors

Full Changelog: https://github.com/iBotPeaches/Apktool/compare/v2.12.1...v3.0.1

View originalPermalink