Skip to main content

Apktool 2.4.1

Connor Tumbleson
Maintainer of Apktool
caution

This release contains an updated internal framework file.

  • apktool empty-framework-dir to remove the old file.
  • Updated baksmali/smali to version 2.3.4
  • Upgrade to gradle 5.6.2
  • Added support for Android Q (10) Final. (#2131)
  • Fixed build issue with JDK9+ because of jmod change. (#2086)
  • Fixed security issue with unpacking assets to unintended locations via directory traversal. (#2058)
  • Fixed issue with api-level command not showing in advanced documentation. (#2027)
  • Fixed issue with directory creation warning when framework directory not made. (#2048)
  • Fixed issue with missing mapping for Q shorthand property. (#2045)
  • Fixed issue with raw qmg files not decoding correctly. (#2046)
  • Fixed issue with copying assets where output directory doesn't match initial structure. (#2046)
  • Fixed issue with NPE with empty attribute content during deserialization. (#2063)
  • Fixed removal of META-INF/services. (#2084, #2018) Thanks adibfara
  • Fixed support for "attr" bag type. (#2117) Thanks visigoth
  • Fixed wiping license headers of AOSP/Android4Me files. (#2093)
  • Added enhanced wrapper file for Windows. (#2120) Thanks Varstahl
  • Added advance command for skipping disassemble of non-root dex packages. (#2051)
  • Fixed issue with MIUI package names being renamed. (#2028) Thanks IgorEisberg
  • Work-around with issue with large 9patch path spamming in uncompressed file list. (#1272) Thanks IgorEisberg
  • Fixed issue with NPE on annotations (#2071)
  • Fixed issue with garbled attributes (#1576) Thanks brianairb
  • Fixed regression with --only-main-classes (#2226) Thanks realityJie
  • Fixed 32bit binary issue with Window aapt/aapt2 builds. (#2141) Thanks Furniel
  • Fixed issue with JVM not knowing bitness on Windows in some situations. (#2105)
  • Fixed issue with long path commands due to recording compression. (#1272) Thanks peret

This post was originally released at: https://connortumbleson.com/2019/11/29/apktool-v2-4-1-released and duplicated in part here for historical reasons.

Apktool 2.4.0

Connor Tumbleson
Maintainer of Apktool
danger

Java 8 (1.8) is now required.

  • Java 8 (1.8) is now required.
  • Updated baksmali/smali to version 2.2.6 (#1893)
  • Fixed issue with new restriction with non-empty ids.xml values. (#1918) / Thanks gino247
  • Fixed issue with PlatformBuildVersion properties changing to unexpected values. (#1909) / Thanks gino247
  • Fixed issue with pending v5 Gradle upgrade, by upgrading to gradle v4.10.2. (#1943) / Thanks friederbluemle
  • Added no-crunch support (optional) via new parameter of nc | --no-crunch. (#1849) / Thanks Novex
  • Fixed issue with xsd files decoding/building improperly between aapt1/aapt2. (#1952)
  • Fixed issue with malformed chunk header when decoding "special" apks. (#1976) / Thanks sebras
  • Fixed issue with Apktool stealing focus on Mac environments. (#1996)
  • Fixed issue with array resources having wrong types. (#1994), (#1922) / Thanks vbarthel-fr
  • Fixed issue with 9patch images missing vertical or horizontal divs, by automatically creating them. (#1522) / Thanks IgorEisberg
  • Fixed issue with resolving references to non-standard framework files. / Thanks IgorEisberg
  • Fixed issue with resolving SDK version codes were not explicit values. / Thanks IgorEisberg
  • Added 32bit binaries for unix & windows for aapt and aapt2.
  • Added automated tests on Windows. (#1975)
  • Added ability for api-level to be passed to baksmali & smali. / Thanks IgorEisberg

This post was originally released at: https://connortumbleson.com/2019/03/03/apktool-v2-4-0-released and duplicated in part here for historical reasons.