[Feature] Ability to update frameworks. #901

iBotPeaches opened this Issue Mar 31, 2015 · 0 comments


None yet
1 participant

iBotPeaches commented Mar 31, 2015

Currently we have a problem where users are not aware that the framework stored at $HOME/apktool/framework/1.apk is actually a copy of the internal file at brut.apktool/apktool-lib/src/main/resources/brut/androlib/android-framework.jar.

This file is the android.jar resources.arsc file from every new API release. The problem is that users never update this file and thus encounter errors a lot.

I believe adding an option like [u]pdate-framework could be beneficial to this. I'm still working out the ideas in my head, but this would allow the user to automatically update the framework via this command.

-f could force the new file, regardless of whatever is there. For a non -f option, we could record md5 hashes of all the previous framework files so that apktool could know when it could "safely" update them

  • API22 - 5c5c80b415ce45ff2bb8ab0c58889de0
  • API21 - a13047ad692d21507dffa0d5bc80ff05
  • API20 - 11089fb644361b98facf7521e51f6637
  • API19 - 6a559b8042a98bac95673861d39aae68
  • API18 - 108ece96197707781231697922ccfdff
  • API17 - bf61a9eb109bb1b08b0a91cb108a8d6b
  • API16 - df3af880276908f5a87651646d155e5d
  • API15 - b4623f26e0b95e0fd86c6e8df424643b
  • API15(real) - dc3f515cbe2f2d48b069348d5a117288
  • UNKNOWN - 95448d5753e56c6f315cce09af2fb6d0

@iBotPeaches iBotPeaches added the Feature label Mar 31, 2015

@iBotPeaches iBotPeaches added this to the v2.0.1 milestone Apr 21, 2015

@iBotPeaches iBotPeaches self-assigned this Apr 21, 2015

@iBotPeaches iBotPeaches removed this from the v2.0.1 milestone May 20, 2015

@iBotPeaches iBotPeaches closed this in #916 Oct 6, 2016

iBotPeaches added a commit that referenced this issue Oct 6, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment