Skip to main content

Apktool 2.8.0

Connor Tumbleson
Maintainer of Apktool
danger

This release was quickly superseded by v2.8.1 due to regressions.

caution

This release contains an updated internal framework file.

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

Download now at Bitbucket

  • md5 - aefd27becd2b97527c47e595bd22d8d2
  • sha256 - b331323ebf325d63e13375a6147915f9dac048f0f1f86783806f925941748dbc

This post was released in pair with https://connortumbleson.com/2023/07/17/apktool-v2-8-0-released and duplicated in part here for historical reasons.

Apktool 2.7.0

Connor Tumbleson
Maintainer of Apktool
caution

This release contains an updated internal framework file.

  • apktool empty-framework-dir to remove the old file.
  • Add SDK T (API 33) support. (#2845)
  • Add SDK S v2 (API 32) support. (#2776)
  • Updated internal aapt/aapt2 to (91492d8 of frameworks_base)
  • Add support for newest ResourcesTypes.h specs (policy, overlay and staged alias). (#2809, #2714)
  • Add updated internal aapt2/aapt2 binaries. (#2787)
  • Add ability to generate generic network security config (-n / --net-sec-conf). (#1622)
  • Add helpful message during built apk message to identify location of apk. (#2843)
  • Add bleeding edge smali package via jitpack. (#2918, #2662)
  • Add build support for JDK 17. (#2952)
  • Fix resource unclosed during unknown file handling. (#2473) / (Thanks auermich93)
  • Fix style strings regression between aapt1/aapt2 builds. (#2815) / (Thanks IgorEisberg)
  • Fix support for uses-native-library in Manifest. (#2778)
  • Fix support for usesPermissionFlags in Manifest. (#2789)
  • Fix windows helper script to allow spaces in path name. (#2855)
  • Fix decoding application if using multiple style res types. (#1719) / (Thanks tvildo)
  • Fix handling with malformed namespaces. (#2615) / (Thanks ljysdfz & MyAnoneNeko)
  • Fix handling of sparse flags during resource parsing. (#2887) / (Thanks iamr0s)
  • Fix crash when parsing a manifest numeric that resolves as null. (#2878)
  • Fix crash when parsing HTML string with empty tag leading to invalid entry. (#2900) / (Thanks MaSven)
  • Fix crash when wrongly decoding overlay policies. (#2805) / (Thanks gramound)
  • Fix regression when decoding overlay policies. (#2945)
  • Fix respecting of $XDG_DATA_HOME on Linux for framework files location. (#2924) / (Thanks Miepee)
  • Fix storing of obfuscated resource files for properly applying proper compression on build. (#2925) / (Thanks Kirlif)
  • Fix issue parsing an obfuscated resource with a improperly referenced parent resource. (#2908)
  • Fix --only-main-classes winning over --no-src. (#2927) / (Thanks Surendrajat)
  • Fix disassembly of files mixed between r, R and res folders. (#2933)
  • Fix handling of (name removed) resources. (#2940) / (Thanks Danealau)
  • Fix disassembly of raw resources for AndResGuard. (#2943)
  • Fix attribute referencing to self package while using AndResGuard. (#2911)
  • Revert automatic workaround for using private resources. (PR 2785, #2771)
  • Upgrade CI Workflow to leverage latest actions. (Thanks Goooler)
  • Upgrade org.apache.commons:commons-text to 1.10.0 (from 1.9)
  • Upgrade org.yaml:snakeyaml to 1.32 (from 1.29)

This post was originally released at: https://connortumbleson.com/2022/11/24/apktool-v2-7-0-released and duplicated in part here for historical reasons.