新版说明,我也看不懂,懂的自己看吧,放到KILLER里,测试了一个APK,没啥问题,能解包
Apktool v2.6.0 has been released! This is a long overdue release that fixes many issues and packs a few new features/behavior in.The last release was way back in December of 2020 so the promise of making quicker releases didn't really hold up. Building aapt/aapt2 binaries has gotten increasingly complex over each and every release. Building a pure AOSP build of build tools got a bit more difficult.So lets talk about this release.We've started publishing to [color=var(--color-font)]Maven now on each release build. This has opened up some glaring issues in the Apktool code base:
Declared exceptions never thrown
Missing docblocks
Code smell issues leading to warnings
A not very sane API to use in library form
The good news is most of these are resolvable and a good chunk of them were slipped into 2.6.0.Goooler stepped in and upgraded the entire ecosystem of Apktool. Whether from direct dependencies to the CI/CD process to the build process itself. The project should be a bit easier to work in now for those wanting to contribute.Binaries were updated again for aapt1/aapt2 and enhancements were made to our CI process to ensure that static unbroken binaries will also be produced. This should result in less cryptic errors when an aapt build was invalid.The war on obfuscation never ends and this release is no exception. Much work was put into string handling learning from the bundletool project that had to a similar and much better approach of parsing strings.The release as always fixes a good deal of issues between disassembling and building and should lead to a more stable experience.The change log is below, but before is a snippet of news about the next releases. Apktool is an interesting pickle with the [color=var(--color-font)]announcement of APKs effectively not being produced during the application development stage. Bundles will be built and Google will produce the APK for the specific language and resource set per phone. This puts Apktool in an interesting position on many topics.I've started a public discussion about [color=var(--color-font)]Apktool 3 and while nothing is set in stone yet - this is my goal.
Apktool 2.6.1 - A few months away - fixes and non-breaking changes
Apktool 3.0.0 - 6-10 months away - Removes aapt1 entirely, replaces internal system for configurations for disassembling, breaks API for a more sane library usages
All opinions are welcome, but with that - Apktool 2.6.0.This release had 195 commits by 11 people
Connor Tumbleson (iBotPeaches) - 149
Goooler - 22
Igor Eisberg (IgorEisberg) - 10
Comnir (Nir) - 5
pashamcr - 2
wangyilei - 2
MrIkso - 1
Andrea Pappacoda - 1
Cody Lund (codylund) - 1
Matteo Baccan (matteobaccan) - 1
itaybia - 1
One thing to note is this release of development was the first release to heavily use rebase/squash merging. This has the side affect of affecting commit counts, but either way - thank you to the contributors for this release.Changes since 2.5.0
[[color=var(--color-font)]#2580] Android 12 Support
[[color=var(--color-font)]#2529] Published to [color=var(--color-font)]Maven Central