Skip to main content

Apktool 2.9.0

Connor Tumbleson
Maintainer of Apktool
caution

This release contains an updated internal framework file and changed the default aapt binary to version 2.

  • apktool empty-framework-dir to remove the old file.
  • --use-aapt1 to return to old behavior (aapt1) during compilation.
  • Add manual YAML implementation to drop SnakeYAML dependency. #3145 (Thanks sv99)
  • Add Android 14 framework support. #3202
  • Add Resource Modes to allow for more control over resource decoding. #2836
  • Add Docker image. #3351 (Thanks Fmstrat)
  • Add support for compactly packed resources. #3366
  • Add support for 16bit offset entries in resource table. #3367
  • Add support for grammatical gender. #3369
  • Fix regression with detection of sparse resource table. #3199
  • Fix poisoning of sparse detection via sparse framework. #3298
  • Fix over-reading the Res Config Flags if size is larger than known. #3205
  • Fix improperly decoding attribute and arrays. #2806
  • Fix corruption of resource table when aapt2 is used. #3346
  • Fix decoding application with larger chunk header size than used. #2989
  • Fix decoding application with entries offset that resolved to NO_ENTRY (-1). #1874
  • Fix decoding application with larger axml namespace than known. #2587, #2863
  • Fix decoding application with misleading number of end namespace chunks. #2070
  • Fix decoding application with empty resource table. #2701
  • Fix decoding application with duplicate namespaces. #2664
  • Fix decoding application with missing namespace on system resources. #2972, #2420
  • Fix decoding application with string block with more string entries than strings. #3236
  • Fix decoding application with unknown files that exceed file name length limits. #3238
  • Fix decoding application with duplicate smaller res entries. #2824
  • Fix decoding application with styled string with span outside length of string. #2829
  • Fix decoding application from Android Milestone (pre 1.0) builds. #3311
  • Fix "disableZip64ExtraFieldValidation" patch by adding to helper scripts. #3198
  • Fix changing values of platformBuildVersionCode and platformBuildVersionName in apktool.yml. #3204
  • Fix ci build system to properly archive test builds post Kotlin migration. #3282
  • Fix Windows helper scripts to properly handle /c. #2973 (Thanks maksz42)
  • Change aapt2 to be default build tool. #3368
  • Change build system to ignore missing javadoc blocks. #3222 (Thanks sv99)
  • Change -c/--copy-original to no longer be deprecated. #2129
  • Change frequency of dummy resources to be less often after proper disassembly of resources. #2683, #2104
  • Change build system configuration to Kotlin DSL. #3249
  • Change build system to leverage Gradle version catalog. #3353
  • Change system to no longer generate APKTOOL_DUMMY_* resources. #3258
  • Change verbose mode to no longer print out method names. #3310
  • Refactor out specific manifest file decoder for empty resource table. #3171 (Thanks sv99)
  • Refactor out duo logic with decoders during resource parser. #3211 (Thanks sv99)
  • Refactor for specific method operations for loading full resource table. #3217 (Thanks sv99)
  • Refactor ApkDecoder for leveraging ApkInfo for file and unknown files. #3242 (Thanks sv99)
  • Refactor ResAttrDecoder into AXmlResourceParser. #3243 (Thanks sv99)
  • Refactor Gradle validation job to only run if gradle/wrapper/gradle-wrapper.jar is modified. #3228 (Thanks ArjunaKumarMohanta)
  • Upgrade Gradle to 8.3.0 #3275 (Thanks ArjunaKumarMohanta)
  • Upgrade @actions/checkout to v4. #3327
  • Upgrade apache.commons/lang3 to 3.13.0 #3240
  • Upgrade apaches.common-io to 2.14.0 #3358
  • Upgrade gradle/gradle-build-action to 2.9.0 #3213, #3241, #3285, #3316, #3359
  • Upgrade gradle/wrapper-validation-action to 1.1.0 #3214
  • Upgrade xmlunit:xmlunit:1.6 to org.xmlunit:xmlunit-legacy:2.9.1 #3235
  • Upgrade com.github.johnrengelman.shadow to 8.1.1 #3259
success

Download now at Bitbucket, Maven

  • md5 - 246e7208cfb92c73d21e4e6a8909dda1
  • sha256 - e5ecf759297b845be64a3a5145ccc372db905b15a801a22ea1c91ee03c4c7a65
info

This release has an updated Windows helper script.

This post was released with commentary at: https://connortumbleson.com/2023/10/08/apktool-v2-9-0-released/

Apktool 2.8.1

Connor Tumbleson
Maintainer of Apktool
  • Add JDK 20 to test suite. #3177
  • Add run command for Gradle inline execution. #3179
  • Fix links on usage output for new smali & apktool links.
  • Fix Windows issue copying files that resolved to an empty filename. #3165
  • Fix Java restriction with ZIP64 extra field validation. #3174, #3170
  • Fix regression on apktool.yml property names. #3169
  • Fix regression on minSdkVersion value being blown out before setting into apktool.yml. #3182 / (Thanks IgorEisberg)
  • Fix regression on inefficient reading of framework files during attribute parsing. #3181
  • Fix regression on decoding framework file with a tag. #3193 / (Thanks IgorEisberg)
  • Refactor descriptions on commands. #3188 / (Thanks IgorEisberg)
  • Upgrade gradle/gradle-build-action to 2.6.0 #3151
  • Upgrade to Gradle 8.2.1 #3141 / (Thanks ArjunaKumarMohanta)
success

Download now at Bitbucket

  • md5 - c186ee0c87dbf197456cc010aeba99da
  • sha256 - 7b4a8e1703e228d206db29644b71141687d8a111b55b039b08b02dfa443ab0f9

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