Apktool: Align aapt/aapt2 codebases

Created on 31 Aug 2018  路  2Comments  路  Source: iBotPeaches/Apktool

Attempt to use the android-9.0.0_r3 tag and apply both our aapt1/aapt2 patches to the codebase and build every binary -_-

Will make long-term easier. API28 made some fixes for aapt1.

Most helpful comment

@dongfangxunlei Yes, I will build the Android builds.

  • Release 2.3.4 - Support for Android Pie
  • Release 2.4.0 - Add support for Android platform

All 2 comments

@dongfangxunlei Yes, I will build the Android builds.

  • Release 2.3.4 - Support for Android Pie
  • Release 2.4.0 - Add support for Android platform

Aligning my codebases (updating them) is proving to be difficult due to the inclusion of the Manifest properties - https://github.com/aosp-mirror/platform_frameworks_base/commit/11be9317efffafcac52cd2dc5cce1d951c966dd1#diff-e7a93bfac1c422acb7946f9512eb2712

  • compileSdkVersion
  • compileSdkVersionCodename

These break the tests massively because old applications don't have these attributes, then rebuilt applications do. If we remove this feature, then new applications decoded will have the attributes stripped.

Removing these two attributes from being injected will make the tests easier, but unsure of the outcome of this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trandua picture trandua  路  3Comments

harshkuttu picture harshkuttu  路  3Comments

raulsiles picture raulsiles  路  4Comments

jpsachse picture jpsachse  路  3Comments

rafinetiz picture rafinetiz  路  3Comments