> ## 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.5.0 Released
- URL: https://connortumbleson.com/2020/12/02/apktool-v2-5-0-released/
- Published: 2020-12-02T11:44:00.000Z
- Updated: 2025-02-04T11:43:17.000Z
- Description: Apktool v2.5.0 has been released with a year of fixes, features and Android 11 support.
- Author: Connor Tumbleson
- Tags: Apktool

![](https://connortumbleson.com/content/images/2020/12/apk-logo_versions-1.png)

Apktool v2.5.0 has been released! This is a long overdue release that fixes many long-running issues.

The last release was way back on November 29, 2019 and by the time this version is released - It will have been over 1 year since our last Apktool release. So what happened?

Honestly a combination of 2020, burnout and life changes. None of which are important to this release post. Though if you are interested - I [blogged](https://connortumbleson.com/2017/05/01/the-human-behind-the-keyboard/) about some of the burnout of long-running open source projects.

Let's talk about maintaining a backlog. Apktool prior to this release had over 250 tickets ranging from 8 years old to 1 day old. It was frankly insane. Some of the topics hadn't even been responded to in years. So I spent [roughly 20 hours](https://twitter.com/iBotPeaches/status/1333065159552757760?ref=connortumbleson.com) over Thanksgiving and went **through every single ticket**. The backlog is now 40 tickets, organized and ready to be fixed. Some tough choices were made on a handful of tickets, but I had to be realistic when it came to fixing some of these anti-tamper issues.

I wouldn't have done this without the help from "peret" who helped build aapt/aapt2 binaries for me on Mac. For some reason (still to this post) a few select repositories cloning from AOSP result in:

```
RPC failed: HTTP 499 curl 16 Error in HTTP2 framing layer
```

This was blocking me for months from completing the release. However, that is enough meta discussion. Apktool development is active again, a smaller backlog has me hooked and a helpful community of authors will keep the discussions and features going.

So lets talk about the changes.

---

This release packs in Android 11 support, which will require a framework update as well as upgrading to the latest and greatest [smali](https://github.com/JesusFreke/smali?ref=connortumbleson.com) project. We embraced GitHub Actions dropping TravisCI and started the deprecation process for 32 bit machines. (Sorry, AOSP is pushing me here)

Error messages were overhauled to help explain why things aren't working. Test cases were enhanced to prevent regressions and each pull request is automatically tested again all 3 major operating systems and a variety of Java versions.

The obfuscation war never ends and Apktool v2.5.0 makes leaps of improvements when it comes to parsing files. Apktool will survive when all namespace references have been removed. Apktool will survive with dummy resources if all resource names have been stripped. Apktool will also survive if all resources have been tweaked to the same name. This of course makes compilation very difficult, but at least the application can be disassembled now.

Binaries for aapt/aapt2 received another great set of patches aiming to lessen the errors that either will encounter during compilation. This led to patching many compression related bugs when it comes to rebuilding applications as well as patching many crashes that result when resources can't be found.

Features were added for the new `compileSdkVersion` property as well as a `apktool list-frameworks` command. Finally, some quality of life enhancements for error codes, helper scripts and copyrights. So with that, the detailed change log and author breakdown.

---

**This release had 180 commits by 11 people**

- Connor Tumbleson (iBotPeaches) - 160 commits
- Giacomo Ferretti (giacomoferretti) - 4 commits
- Frieder Bluemle (friederbluemle) - 3 commits
- Peter Retzlaff - 3 commits
- Ankit Pati (ankitpati) - 2 commits
- Comnir (Nir) - 2 commits
- Leo Wandersleb (Giszmo) - 1 commit
- Patrick Decat - 1 commit
- Steven Arzt (StevenArzt) - 1 commit
- Taras - 1 commit
- chris-sharl - 1 commit
- vladimir (vldmrrr) - 1 commit

# Changes since 2.4.1

- \[[#2399](https://github.com/iBotPeaches/Apktool/issues/2399?ref=connortumbleson.com), [#2397](https://github.com/iBotPeaches/Apktool/issues/2397?ref=connortumbleson.com), [#2369](https://github.com/iBotPeaches/Apktool/issues/2369?ref=connortumbleson.com), [#2167](https://github.com/iBotPeaches/Apktool/issues/2167?ref=connortumbleson.com)\] Android 11 Support.
- \[[#2006](https://github.com/iBotPeaches/Apktool/issues/2006?ref=connortumbleson.com), [#1718](https://github.com/iBotPeaches/Apktool/issues/1718?ref=connortumbleson.com)\] Upgraded smali/baksmali to v2.4.0.
- \[[#2110](https://github.com/iBotPeaches/Apktool/issues/2210?ref=connortumbleson.com), [#2053](https://github.com/iBotPeaches/Apktool/issues/2053?ref=connortumbleson.com)\] Deprecate 32 bit operating systems.
- \[[#2251](https://github.com/iBotPeaches/Apktool/issues/2251?ref=connortumbleson.com)\] Fix thread crash with binary name collision.
- \[[#2323](https://github.com/iBotPeaches/Apktool/issues/2323?ref=connortumbleson.com)\] Fix compression on `resources.arsc`.
- \[[#2333](https://github.com/iBotPeaches/Apktool/issues/2333?ref=connortumbleson.com)\] Fix crash with empty files during compression. (Thanks peret)
- \[[#2328](https://github.com/iBotPeaches/Apktool/issues/2328?ref=connortumbleson.com), [#2364](https://github.com/iBotPeaches/Apktool/issues/2364?ref=connortumbleson.com)\] Fix debug mode handling with aapt2\. (Thanks Comnir)
- \[[#2386](https://github.com/iBotPeaches/Apktool/issues/2386?ref=connortumbleson.com), [#2217](https://github.com/iBotPeaches/Apktool/issues/2271?ref=connortumbleson.com), [#2119](https://github.com/iBotPeaches/Apktool/issues/2119?ref=connortumbleson.com)\] Fix handling XML files with `$` in name.
- \[[#2300](https://github.com/iBotPeaches/Apktool/issues/2300?ref=connortumbleson.com)\] Fix NPE while disassembling manifest with no resource matching resId.
- \[[#2438](https://github.com/iBotPeaches/Apktool/issues/2438?ref=connortumbleson.com), [#1903](https://github.com/iBotPeaches/Apktool/issues/1903?ref=connortumbleson.com)\] Fix aapt2 with dummy properties of bool(false) to ref(null).
- \[[#2317](https://github.com/iBotPeaches/Apktool/issues/2317?ref=connortumbleson.com), [#2188](https://github.com/iBotPeaches/Apktool/issues/2188?ref=connortumbleson.com), [#1859](https://github.com/iBotPeaches/Apktool/issues/1859?ref=connortumbleson.com)\] Fix non-standard namespaces in obfuscated manifests.
- \[[#1945](https://github.com/iBotPeaches/Apktool/issues/1945?ref=connortumbleson.com), [#2146](https://github.com/iBotPeaches/Apktool/issues/2146?ref=connortumbleson.com)\] Fix NPE when finding referent of a missing resource.
- \[[#2343](https://github.com/iBotPeaches/Apktool/issues/2343?ref=connortumbleson.com)\] Fix error message when framework directory cannot be written.
- \[[#2411](https://github.com/iBotPeaches/Apktool/issues/2411?ref=connortumbleson.com)\] Add tests for `classes[1-3].dex`
- \[[#1913](https://github.com/iBotPeaches/Apktool/issues/1913?ref=connortumbleson.com)\] Added new list frameworks command.
- \[[#2368](https://github.com/iBotPeaches/Apktool/issues/2368?ref=connortumbleson.com)\] Added support for `compileSdkVersion`.
- Updated response codes to properly be non-zero if invalid parameters passed. (Thanks Giszmo)
- Updated license headers to reflect start date of project & remove javadoc style. (Thanks friederbluemle)
- Added support for `JAVA_HOME` variable on Windows helper script. (Thanks vldmrrr)
- Added support for SDK Codename "S"
- Upgrade to gradle 6.4.1
- Replaced TravisCI with GitHub Actions

## Notes

- Applications are becoming more and more difficult to build with aapt1, using the `--use-aapt2` flag during rebuild is a good test.
- There are only 40 issues in the [backlog](https://github.com/iBotPeaches/Apktool/issues?ref=connortumbleson.com). Have an idea for a fix? Fancy reviewing some [pull requests](https://github.com/iBotPeaches/Apktool/pulls?ref=connortumbleson.com)?

## Download

- [Apktool 2.5.0](https://bitbucket.org/iBotPeaches/apktool/downloads/apktool%5F2.5.0.jar?ref=connortumbleson.com)  
  - md5 `4958ad93cba461f084a47d5626e2d486`
  - sha256 `b392d7cb99b592e9c5acc3c06f1b0f180edde96c66b86b3d6932b7c0c4079fe4`
  - Rename to `apktool.jar` and follow the [Instruction Guide](https://ibotpeaches.github.io/Apktool/install/?ref=connortumbleson.com) if you need help.

## Links

- [Project Site](https://ibotpeaches.github.io/Apktool/?ref=connortumbleson.com)
- [GitHub](https://github.com/iBotPeaches/Apktool?ref=connortumbleson.com)
- [Bug Tracker](https://github.com/iBotPeaches/Apktool/issues?ref=connortumbleson.com)
- [Gitter Chat](https://gitter.im/iBotPeaches/Apktool?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)