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
Changed 23
- 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
- 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
- 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
- Fix "android:* not found" errors
- Support empty value for zero flags
- 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
- 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
- build(deps): bump commons-io:commons-io from 2.21.0 to 2.22.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4133
- build(deps): bump com.google.guava:guava from 33.5.0-jre to 33.6.0-jre by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4131
- chore: sanity check yaml + getters for ResConfig by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4135
- Optimize ResStringPool by @X1nto in https://github.com/iBotPeaches/Apktool/pull/4138
- Fix "android:* not found" errors by @Sleeeee in https://github.com/iBotPeaches/Apktool/pull/4137
- fix: support empty value for zero flags by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4140
- chore: convert tests to xpath by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4141
- build(deps): bump org.xmlunit:xmlunit-legacy from 2.11.0 to 2.12.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4146
- build(deps): bump gradle/actions from 6.1.0 to 6.2.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4149
- build(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4151
New Contributors
- @Sleeeee made their first contribution in https://github.com/iBotPeaches/Apktool/pull/4137
Release Blog: https://apktool.org/blog/apktool-3.0.3 Full Changelog: https://github.com/iBotPeaches/Apktool/compare/v3.0.2...v3.0.3
v3.0.2
What's Changed
- fix: use item tags for incompatible formats by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4097
- build(deps): bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4100
- build(deps): bump gradle/actions from 5.0.1 to 5.0.2 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4101
- ApkDecoder: allow getting ApkInfo after decode by @amartinz in https://github.com/iBotPeaches/Apktool/pull/4106
- fix: validate type names by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4113
- Fix slow resources.arsc decoding by @X1nto in https://github.com/iBotPeaches/Apktool/pull/4115
- build(deps): bump gradle/actions from 5.0.2 to 6.1.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4114
- fix: slow binary XML decoding by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4116
- build(deps): bump com.android.tools:r8 from 9.0.32 to 9.1.31 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4109
- chore: internalize buffering by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4117
- Fix build output jar naming to use underscores (apktool_*.jar) by @Copilot in https://github.com/iBotPeaches/Apktool/pull/4120
- Fix entry lookup performance in ResPackage by @X1nto & @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4124
- Update aapt2 binaries. by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/4119
- fix: support apk as library for split apks by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4128
New Contributors
- @amartinz made their first contribution in https://github.com/iBotPeaches/Apktool/pull/4106
- @X1nto made their first contribution in https://github.com/iBotPeaches/Apktool/pull/4115
- @Copilot made their first contribution in https://github.com/iBotPeaches/Apktool/pull/4120
Full Changelog: https://github.com/iBotPeaches/Apktool/compare/v3.0.1...v3.0.2
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
- [v3] build: start new dev cycle (3.0.0-SNAPSHOT) by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/3882
- [v3] Remove aapt1 testing by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/3883
- refactor: Apktool Remastered by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/3885
- organize: classes by context by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/3886
- refactor: ResChunkPullParser + BinaryDataInputStream by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/3888
- optimize: performance and sanity by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/3890
- Fix: correct bad Windows aapt2 builds by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/3992
- fix: improve ResAttribute value formatting by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/3994
- build(deps): bump com.google.guava:guava from 33.4.8-jre to 33.5.0-jre by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/3990
- chore: shorten version logic by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/3999
- fix: support building on headless server by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/4000
- build(deps): bump org.apache.commons:commons-lang3 from 3.18.0 to 3.19.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/3998
- Use binary name "aapt2" as prefix for temporary file by @jpstotz in https://github.com/iBotPeaches/Apktool/pull/4001
- build(deps): bump gradle/actions from 4.4.3 to 5.0.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4003
- build(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4011
- build(deps): bump org.xmlunit:xmlunit-legacy from 2.10.4 to 2.11.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4017
- build(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4018
- build(deps): bump commons-io:commons-io from 2.20.0 to 2.21.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4021
- build(deps): bump org.apache.commons:commons-lang3 from 3.19.0 to 3.20.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4026
- build(deps): bump commons-cli:commons-cli from 1.10.0 to 1.11.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4025
- build: move to smali fork by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/4027
- build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4033
- build(deps): bump com.android.tools:r8 from 8.7.18 to 8.13.17 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4031
- refactor: Improve renaming/injection of resources in stripped APKs by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4041
- chore: update default --res-resolve-mode in usage by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4042
- fix: rename injected entry spec if the name already exists by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4043
- build(deps): bump org.apache.commons:commons-text from 1.14.0 to 1.15.0 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4038
- refactor: modernize --res-resolve-mode and dummies by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4044
- chore: clean leftovers from 2.x by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4045
- fix: handle unknown res configs gracefully by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4053
- build(deps): bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4050
- fix: tighten span tag parsing by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4061
- fix: avoid assumptions about res dir by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4067
- refactor: nested dex + replace --only-main-classes with -a/--all-src by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4069
- refactor: source and tests by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4071
- chore: promote -a/--all-src to a common option by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4072
- build(deps): bump com.android.tools:r8 from 8.13.17 to 8.13.19 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4064
- refactor: new BinaryXmlResourceParser, ResXmlSerializer and more by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4077
- minor: TextUtils hotfix by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4079
- build: migrate to modern maven publish by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/4073
- build(deps): bump gradle/actions from 5.0.0 to 5.0.1 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4080
- fix: ensure proper locale in ResPrimitive by @salvogiangri in https://github.com/iBotPeaches/Apktool/pull/4084
- feat: support for API 36.1 (Baklava) by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/4082
- feat: staged aliases support by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4085
- fix: framework parse performed twice by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4086
- chore: final polish by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4087
- feat: support multi-dex containers by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4091
- build(deps): bump com.android.tools:r8 from 8.13.19 to 9.0.32 by @dependabot[bot] in https://github.com/iBotPeaches/Apktool/pull/4090
- build: bump gradle from 8.7 to 8.14.4 by @IgorEisberg in https://github.com/iBotPeaches/Apktool/pull/4088
- build: version 3.0.0 tagged by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/4093
- docs: mark v3 as real and fix sponsor images by @iBotPeaches in https://github.com/iBotPeaches/Apktool/pull/4095
New Contributors
- @jpstotz made their first contribution in https://github.com/iBotPeaches/Apktool/pull/4001
- @salvogiangri made their first contribution in https://github.com/iBotPeaches/Apktool/pull/4084
Full Changelog: https://github.com/iBotPeaches/Apktool/compare/v2.12.1...v3.0.1