> ## 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.2.0 Released
- URL: https://connortumbleson.com/2016/08/07/apktool-v2-2-0-released/
- Published: 2016-08-07T15:58:37.000Z
- Updated: 2018-08-22T01:19:24.000Z
- Author: Connor Tumbleson
- Tags: Apktool

![](https://connortumbleson.com/content/images/2016/08/apktool_220.png)

Apktool v2.2.0 has been released! This version brings a lot of fixes for old bug reports and tweaks how frameworks are stored.

Apktool has been historically creating framework files in `$HOME/apktool/framework`. As of `v2.2.0` this has been changed to

- `unix - $HOME/.local/share/apktool`
- `windows - $HOME/AppData/Local/apktool`
- `mac - $HOME/Library/apktool`

These paths resemble where applications store files per operating system. For some systems this is a hidden directory. The reason for this change was that Apktool creating a top level home directory folder wasn't exactly proper.

Additionally, a lot of fixes have been made for Dexguard built applications. Recompilation with these applications is still not possible due to [#885](https://github.com/iBotPeaches/Apktool/issues/885?ref=connortumbleson.com).

If you'd like to clean up the old directory where frameworks were stored. Commands for this can be found in the [Migration Instructions from 2.1.1 to 2.2.0](https://ibotpeaches.github.io/Apktool/documentation/?ref=connortumbleson.com#v2-1-1-v2-2-0).

This release had 22 commits by 3 people.

- Connor Tumbleson (iBotPeaches) - 20 commits
- Anthony Morris (amorris) - 1 commit
- Pierre-Hugues HUSSON (phhusson) - 1 commit

# Changes since v2.1.1

- Updated smali/baksmali to `v2.1.3`  
  - \[[#1269](https://github.com/iBotPeaches/Apktool/issues/1269?ref=connortumbleson.com)\] Fixed upstream issue where debug comment indexes can cause out of bounds exception.
- Adjust mac and unix scripts to force UTF8 file encoding.
- \[[#972](https://github.com/iBotPeaches/Apktool/issues/972?ref=connortumbleson.com)\] Fixed issue with hex values being truncated in `AndroidManifest.xml`.
- \[[#894](https://github.com/iBotPeaches/Apktool/issues/894?ref=connortumbleson.com)\] Fixed issue with APKs that have duplicate value names by creating dummy names.
- \[[#745](https://github.com/iBotPeaches/Apktool/issues/745?ref=connortumbleson.com)\] Fixed issue with APKs where parent reference in `styles.xml` is not found.
- \[[#1277](https://github.com/iBotPeaches/Apktool/issues/1277?ref=connortumbleson.com)\] Default framework changed on Windows & Unix to prevent visible top level home directories.
- \[[#1258](https://github.com/iBotPeaches/Apktool/issues/1258?ref=connortumbleson.com)\] Fixed issue where extensions would be different cases.
- \[[#1264](https://github.com/iBotPeaches/Apktool/issues/1264?ref=connortumbleson.com)\] Fixed issue with APKs that had no `versionCode` / `versionName` properties.
- \[[#1270](https://github.com/iBotPeaches/Apktool/issues/1270?ref=connortumbleson.com)\] Fixed issue with improper decoding of `@empty` value. (Thanks phusson)
- \[[#1244](https://github.com/iBotPeaches/Apktool/issues/1244?ref=connortumbleson.com)\] Fixed issue with improper compression with files with multiple extensions.
- \[[#1185](https://github.com/iBotPeaches/Apktool/issues/1185?ref=connortumbleson.com)\] Fixed issue with overflow for applications that have absurdly large TypeSpec indexes.
- \[[#1166](https://github.com/iBotPeaches/Apktool/issues/1166?ref=connortumbleson.com)\] Replaced public domain LittleEndianReader for Google's Guava LittleEndianDataInputStream (Apache2). (Thanks amorris)
- \[[#1097](https://github.com/iBotPeaches/Apktool/issues/1097?ref=connortumbleson.com)\] Fixed public resource reference error when using references in `android:scheme` in `AndroidManifest.xml`.

## Notes

As the release of Android Nougat is near, Apktool 2.2.1 will quickly follow to patch any needed changes. The rumored new aapt binary (aapt2) may present itself with the release, which may delay the release of Apktool.

# Download

- [Apktool 2.2.0](https://bitbucket.org/iBotPeaches/apktool/downloads/apktool%5F2.2.0.jar?ref=connortumbleson.com) \- md5 `75ea3ed00784cd5705104de64f33b2c7`  
  - Rename to `apktool.jar` and follow the [Instruction Guide](http://ibotpeaches.github.io/Apktool/install/?ref=connortumbleson.com) if you need help.

## Links

- [Project Site](http://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](http://forum.xda-developers.com/showthread.php?t=1755243&ref=connortumbleson.com)