> ## 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.2 Released
- URL: https://connortumbleson.com/2017/01/23/apktool-v2-2-2-released/
- Published: 2017-01-23T12:53:18.000Z
- Updated: 2018-08-22T01:19:24.000Z
- Author: Connor Tumbleson
- Tags: Apktool

![](https://connortumbleson.com/content/images/2017/01/apktool_222.png)

Apktool v2.2.2 has been released! This is a bug fix release for Android Nougat in addition adding Android 7.1 resources.

This release also introduces 32 and 64 bit binaries for the internal `macosx` and `unix` aapt binary. This was in response to upgrading the internal aapt to `64 bit` and not providing any solution for the `32 bit` users. While I don't think anyone should be using `32 bit` at this point, it wasn't too much effort to additionally support this change. However, because of this our final jar for apktool grew by about 2.6mb.

This release had 25 commits by 4 people.

- Connor Tumbleson (iBotPeaches) - 22 commits
- Andrei Conache (xpirt) - 1 commit
- peter23 - 1 commit
- GabrielTK - 1 commit

# Changes since v2.2.1

- \[[#1349](https://github.com/iBotPeaches/Apktool/issues/1349?ref=connortumbleson.com)\] - **Android Nougat - 7.1 Support**
- Upgrade internal `aapt` to `android-7.1.1_r4`.  
  - [7cc18d91](https://github.com/iBotPeaches/platform%5Fframeworks%5Fbase/commit/7cc18d918edf45c681692ecea948a0253b73a8a0?ref=connortumbleson.com) \- Return early from filename checks(Allows unicode filenames)
  - [8ae80ab8](https://github.com/iBotPeaches/platform%5Fframeworks%5Fbase/commit/8ae80ab8e27942b65fd7c8dc9401dc58860bda3c?ref=connortumbleson.com) \- Ignore character checks on XML files.
  - [7945c72f](https://github.com/iBotPeaches/platform%5Fframeworks%5Fbase/commit/7954c72f55e6a2ffe8f3654498219bd7802d1171?ref=connortumbleson.com) \- Can build with any `pkgId` (Thanks peter23)
  - [e37c8eab](https://github.com/iBotPeaches/platform%5Fframeworks%5Fbase/commit/e37c8eabef96b2a723924f31ee054992351442b8?ref=connortumbleson.com) \- Remove `do`/`if` from reserved list.
- Upgrade gradle to `3.3`.
- \[[#1370](https://github.com/iBotPeaches/Apktool/issues/1370?ref=connortumbleson.com)\] - Fixed NPE when styles had a parent that didn't exist.
- \[[#1382](https://github.com/iBotPeaches/Apktool/issues/1382?ref=connortumbleson.com)\] - Fixed issue that `TYPE_DYNAMIC_ATTRIBUTE` was treated wrongly. (Thanks xpirt)
- \[[#885](https://github.com/iBotPeaches/Apktool/issues/885?ref=connortumbleson.com), [#1389](https://github.com/iBotPeaches/Apktool/issues/1389?ref=connortumbleson.com)\] - Fixed issue with APKs that had invalid characters.
- \[[#1384](https://github.com/iBotPeaches/Apktool/issues/1384?ref=connortumbleson.com)\] - Prevent vector images from being versioned on build.
- \[[#1369](https://github.com/iBotPeaches/Apktool/issues/1369?ref=connortumbleson.com)\] - Fixed issue with APKs that have invalid characters in filename.
- \[[#1394](https://github.com/iBotPeaches/Apktool/issues/1394?ref=connortumbleson.com)\] - Fixed build issue where space was in filepath.
- \[[#1360](https://github.com/iBotPeaches/Apktool/issues/1360?ref=connortumbleson.com)\] - Fixed issue with APKs that have 3 non-positional attributes.
- \[[#1119](https://github.com/iBotPeaches/Apktool/issues/1119?ref=connortumbleson.com), [#989](https://github.com/iBotPeaches/Apktool/issues/989?ref=connortumbleson.com), [#1278](https://github.com/iBotPeaches/Apktool/issues/1278?ref=connortumbleson.com), [#1377](https://github.com/iBotPeaches/Apktool/issues/1377?ref=connortumbleson.com), [#1091](https://github.com/iBotPeaches/Apktool/issues/1091?ref=connortumbleson.com)\] - Fixed issue with APKs that required non-standard `pkgId`'s. (Thanks peter23)
- \[[#1404](https://github.com/iBotPeaches/Apktool/issues/1404?ref=connortumbleson.com)\] - Fixed issue with APKs that use reserved words.

## Notes

This version has a lot of changes related to `aapt`. More and more of our bugs seem to be problems at the aapt level as OEMs and other companies modify applications at the low level that aapt operates at.

# Download

- [Apktool 2.2.2](https://bitbucket.org/iBotPeaches/apktool/downloads/apktool%5F2.2.2.jar?ref=connortumbleson.com) \- md5 `1e6be08d3f9bb4b442bb85cf4e21f1c1`  
  - 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)