Skip to main content

Apktool 2.5.0

Connor Tumbleson
Maintainer of Apktool
caution

This release contains an updated internal framework file.

  • apktool empty-framework-dir to remove the old file.
  • Android 11 Support (#2399, #2397, #2369, #2167)
  • Updated baksmali/smali to version 2.4.0 (#2006, #1718)
  • Upgrade to gradle 6.4.1
  • Replaced TravisCI with GitHub Actions
  • Deprecate 32bit (#2110, #2053)
  • Added support for SDK Codename "S" (Android 12?)
  • Added support for JAVA_HOME environmental on Windows if defined. (Thanks vldmrrr)
  • Update license headers to reflect start copyright date & remove javadoc style. (Thanks friederbluemle)
  • Fixed issue with binary name clash in multi-threaded environments. (#2251) Thanks chris-sharl
  • Fixed issue with resources.arsc file being compressed in framework files. (#2323)
  • Fixed issue with empty files being compressed breaking applications. (#2333) / (Thanks peret)
  • Fixed handling with debug mode while using aapt2. (#2328, #2364) / Thanks Comnir)
  • Fixed issue with handling of XML files using $ in resource name. (#2386, #2217, #2119)
  • Fixed issue with NPE disassembling manifest with attributes with no resourceId. (#2300)
  • Fixed issue with aapt2 and strict dummy properties, changing bool(false) to ref(null). (#2438, #1903)
  • Fixed issue with non-standard namespaces in obfuscated application. (#2317, #2188, #1859)
  • Fixed NPE when trying to find a referent of a missing resource. (#1945, #2146)
  • Properly return non-zero error if invalid parameters. (Thanks Giszmo)
  • Added helpful error message when framework directory cannot be written. (#2343)
  • Added testcases for classes#.dex disassembling on aapt1/aapt2. (#2411)
  • Added apktool list-frameworks. (#1913)
  • Support for new compileSdkVersion property for SdkInfo. (#2368)

This post was originally released at: https://connortumbleson.com/2020/12/02/apktool-v2-5-0-released and duplicated in part here for historical reasons.

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.