Apktool v2.2.1 Released
Apktool v2.2.1 has been released! This is a compatibility release for Android Nougat, in addition to bringing support for wiping the framework directory.
Android Nougat brought three interesting things.
aapt2. The 2nd iteration (rewrite) of the aapt binary. We leverage
aapta lot during the build procedure. The choice of whether moving to
aapt2will be a requirement or not is still being researched.
Signature Scheme v2. Nougat also launched a new signing mechanism vs the old JAR signing which was easily breakable. This means modifying applications that use the v2 signature and retaining the original signature is no longer possible. This invalidates the
aapt. This excludes the need for
ia32-libs. I don't think anyone is running 32 bit systems anymore, but noted anyway.
An additional command was added to help clear framework files. As frameworks moved locations in v2.2.0 the ability to find them in the file system became more difficult. While the move was for a good reason (to prevent cluttering
$HOME), it made management of the frameworks difficult. The command
apktool empty-framework-dir will dump all framework files. The full usage can be seen below.
usage: apktool [-q|--quiet OR -v|--verbose] empty-framework-dir [options] -f,--force Force delete destination directory. -p,--frame-path <dir> Stores framework files into <dir>.
This release had 15 commits by 4 people.
- Connor Tumbleson (iBotPeaches) - 12 commits
- amorris13 - 1 commit
- benjamin-promon - 1 commit
- jamestut - 1 commit
Changes since v2.2.0
- [#1223] Android Nougat - 7.0 Support
- [#1243] Fixed issue with missing attributes (using Android Nougat Final Preview Sdk).
- [#1317] Fixed issue with new value type 8 -
- [#1324] Gracefully handle APKs with additional data after
TYPEchunks. (Thanks jamestut)
- [#1313] Pass
minSdkVersionto smali to correctly trigger edge cases where proper API needs to set. (Thanks benjamin-promon)
- [#901] Added
empty-framework-dircommand to cleanup framework directory to ease upgrades.
- [#1332] Handle applications that trick apktool with unknown header type. (Thanks xpirt)
With the talk of Android 7.1 quickly approaching, version 2.2.2 will follow with bug fixes and compatibility.
- Apktool 2.2.1 - md5
- Rename to
apktool.jarand follow the Instruction Guide if you need help.
- Rename to