> ## Content Index
> Fetch the complete content index at: https://connortumbleson.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Apktool v2.8.0 Released
- URL: https://connortumbleson.com/2023/07/17/apktool-v2-8-0-released/
- Published: 2023-07-17T10:03:57.000Z
- Updated: 2025-02-04T11:42:34.000Z
- Description: Apktool v2.8.0 has been released with refactors, fixes and launching with a new documentation site.
- Author: Connor Tumbleson
- Tags: Apktool

![](https://connortumbleson.com/content/images/2023/07/apktool-2.8.0-1.png)

Apktool v2.8.0 has been released! This release includes massive amounts of refactoring to the codebase to speed development on the never ending game of resource obfuscation.

Large changes you'll notice as a developer are:

- Remove `Androlib` for `ApkBuilder` and `ApkDecoder`
- Extract aapt/aapt2 into `AaptInvoker` class
- Refactored `ARSCDecoder` to support unified chunk loading
- Refactored `AXmlResourceParser` to leverage same chunk loading
- Smali is pulled from [Google](https://github.com/google/smali?ref=connortumbleson.com) now instead of [JesusFreke](https://github.com/jesusfreke/smali?ref=connortumbleson.com)

Large changes you'll notice as an end user are:

- Support for Upside Down Cake & Vanilla Ice Cream (API 34+)
- Enhance decoder for common obfuscation techniques
- Relax aapt failures that succeed in aapt2
- Fix crashing on common Meta applications

Changes you'll notice as a frequent user of the GitHub project:

- Features are tracked in [Discussions](https://github.com/iBotPeaches/Apktool/discussions/categories/ideas?ref=connortumbleson.com) now instead of the bug tracker.
- A new documentation website launched.
- [https://apktool.org](https://apktool.org/?ref=connortumbleson.com) is the new home for docs.

I'd like to thank all the contributors, but especially [sv99](https://github.com/sv99?ref=connortumbleson.com) for their effort in giving the code base a serious facelift. That effort gave me enough of a drive to spend some serious time on Apktool over the last month to finalize this release. I went into further details about this release and Apktool in general in yesterday's blog post.

---

**This release had 153 commits by 9 people and 1 robot**

- Connor Tumbleson (iBotPeaches) - 122 commits
- sv99 - 9 commits
- Slava Volkov - 8 commits
- Dependabot (BOT) - 6 commits
- ArjunaKumarMohanta - 3 commits
- AARON - 1 commit
- Crimson - 1 commit
- Igor Eisberg - 1 commit
- Marc Miltenberger - 1 commit
- jason.liao - 1 commit

---

# Changes since 2.7.0

- \[[#3041](https://github.com/iBotPeaches/Apktool/issues/3041?ref=connortumbleson.com)\] Add SDK U (API 34) Preview Support
- \[[#3115](https://github.com/iBotPeaches/Apktool/pull/3115?ref=connortumbleson.com)\] Add SDK V (API ?) Preview Support
- \[[#2976](https://github.com/iBotPeaches/Apktool/issues/2976?ref=connortumbleson.com)\] Add CI testing for Java versions 18 & 19
- \[[#2978](https://github.com/iBotPeaches/Apktool/issues/2978?ref=connortumbleson.com)\] Add support for parsing applications with config flag size > 8 (from 28).
- \[[#3070](https://github.com/iBotPeaches/Apktool/pull/3070?ref=connortumbleson.com)\] Add support for running apktool via gradle. (Thanks sv99)
- \[[#2980](https://github.com/iBotPeaches/Apktool/issues/2980?ref=connortumbleson.com)\] Add support for `0_resource_name_obfuscated`
- \[[#3113](https://github.com/iBotPeaches/Apktool/pull/3113?ref=connortumbleson.com)\] Add support for Upside Down Cake & Vanilla Ice Cream SDK Shorthand.
- Remove CI testing for Java versions: 9, 10, 12, 13, 14, 15 and 17.
- \[[#2998](https://github.com/iBotPeaches/Apktool/pull/2998?ref=connortumbleson.com)\] Fix issue parsing empty `resources.asrc`. (Thanks IgorEisberg)
- \[[#3008](https://github.com/iBotPeaches/Apktool/issues/3008?ref=connortumbleson.com)\] Fix issue with larger `apktool.yml` files.
- \[[#3030](https://github.com/iBotPeaches/Apktool/issues/3030?ref=connortumbleson.com)\] Fix issue with parsing `XML_TYPE_OVERLAY`.
- \[[#3071](https://github.com/iBotPeaches/Apktool/pull/3071?ref=connortumbleson.com)\] Fix issue with aapt/aapt2 in edge cases waiting 15 seconds for output. (Thanks sv99)
- \[[#3104](https://github.com/iBotPeaches/Apktool/issues/3104?ref=connortumbleson.com)\] Fix NPE when decoding namespace missing from string pool.
- \[[#2981](https://github.com/iBotPeaches/Apktool/issues/2981?ref=connortumbleson.com)\] Fix preference order when bogus values fill spring pool instead preferring res table.
- \[[#1927](https://github.com/iBotPeaches/Apktool/issues/1927?ref=connortumbleson.com), [#2484](https://github.com/iBotPeaches/Apktool/issues/2484?ref=connortumbleson.com)\] Fix assembly with aapt1 when duplicate bag items are detected.
- \[[#3133](https://github.com/iBotPeaches/Apktool/pull/3133?ref=connortumbleson.com)\] Fix config flag support for 64 byte header, adding `localeNumberingSystem`.
- \[[#3036](https://github.com/iBotPeaches/Apktool/issues/3036?ref=connortumbleson.com)\] Fix issue crashing out when reading entries past chunk end.
- \[[#3088](https://github.com/iBotPeaches/Apktool/pull/3088?ref=connortumbleson.com)\] Refactor `brut.androlib.err` to `brut.androlib.exceptions` for standard naming convention of Exceptions. (Thanks sv99)
- \[[#3091](https://github.com/iBotPeaches/Apktool/pull/3091?ref=connortumbleson.com)\] Refactor Build/Decode to work from common Config object. (Thanks sv99)
- \[[#3103](https://github.com/iBotPeaches/Apktool/pull/3103?ref=connortumbleson.com)\] Refactor into `ApkBuilder` and `ApkDecoder` instead of generic `Androlib`. (Thanks sv99)
- \[[#3105](https://github.com/iBotPeaches/Apktool/pull/3105?ref=connortumbleson.com)\] Refactor new class `Framework` to lessen responsibility of `AndrolibResources`. (Thanks sv99)
- \[[#3106](https://github.com/iBotPeaches/Apktool/pull/3106?ref=connortumbleson.com)\] Refactor `ApkDecoder` to split methods for `MetaInfo` towards `ResTable`. (Thanks sv99)
- \[[#3109](https://github.com/iBotPeaches/Apktool/pull/3109?ref=connortumbleson.com)\] Refactor `ApkDecoder` to introduce common methods for manifest and resource operations. (Thanks sv99)
- \[[#3114](https://github.com/iBotPeaches/Apktool/pull/3114?ref=connortumbleson.com)\] Refactor Gradle workflow into its own to cut down on unrelated CI failures.
- \[[#3116](https://github.com/iBotPeaches/Apktool/pull/3116?ref=connortumbleson.com)\] Refactor `*Decoders` to split child classes into own class files.
- \[[#3124](https://github.com/iBotPeaches/Apktool/pull/3124?ref=connortumbleson.com)\] Refactor classes to support new `ApkInvoker` class. (Thanks sv99)
- \[[#3119](https://github.com/iBotPeaches/Apktool/pull/3119?ref=connortumbleson.com)\] Upgrade `gradle/gradle-build-action` to `2.5.1`.
- \[[#3079](https://github.com/iBotPeaches/Apktool/pull/3079?ref=connortumbleson.com)\] Upgrade away from deprecated SnakeYAML constructors. (Thanks MarcMil)
- \[[#3055](https://github.com/iBotPeaches/Apktool/pull/3055?ref=connortumbleson.com)\] Upgrade codebase to use Java7 NIO library for IO. (Thanks sv99)
- \[[#3050](https://github.com/iBotPeaches/Apktool/issues/3050?ref=connortumbleson.com)\] Upgrade to smali/baksmali 3.0.3 and move to Google fork of it.
- Upgrade to Gradle 8.2 (Thanks ArjunaKumarMohanta)
- Upgrade `commons-io` to `2.13.0` from `2.11.0`
- Upgrade `guava` to `32.0.1-jre` from `31.0.1-jre`
- Upgrade `proguard_gradle` to `7.3.2` from `7.3.0`
- Upgrade `shadow` to `8.0.0` from `7.1.0`

## Notes

- Applications are becoming more and more difficult to build with aapt1, using the `--use-aapt2` flag during rebuild is a good test.

## Download

[Download Apktool 2.8.0](https://bitbucket.org/iBotPeaches/apktool/downloads/apktool%5F2.8.0.jar?ref=connortumbleson.com)

- [Apktool 2.8.0](https://bitbucket.org/iBotPeaches/apktool/downloads/apktool%5F2.8.0.jar?ref=connortumbleson.com)  
  - `aefd27becd2b97527c47e595bd22d8d2` (md5)
  - `b331323ebf325d63e13375a6147915f9dac048f0f1f86783806f925941748dbc` (sha256)
  - Rename to `apktool.jar` and follow the [Instruction Guide](https://apktool.org/docs/install?ref=connortumbleson.com) if you need help.

## Links

- [Project Site](https://apktool.org/?ref=connortumbleson.com)
- [GitHub](https://github.com/iBotPeaches/Apktool?ref=connortumbleson.com)
- [Bug Tracker](https://github.com/iBotPeaches/Apktool/issues?ref=connortumbleson.com)
- [XDA Thread](https://forum.xda-developers.com/showthread.php?t=1755243&ref=connortumbleson.com)
- [Buy me a ~~Coffee~~ Beer](https://www.buymeacoffee.com/iBotPeaches?ref=connortumbleson.com)