Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Expose the aapt --no-crunch option #1849
Adds a --no-crunch/-nc flag to apktool which gets passed through to aapt. This allows apktool to make a byte-for-byte copy of resource files which lowers the amount of changes when generating patches.
Happy to add tests if you can point me in the right direction - I'm not super familiar with the java ecosystem and I couldn't find any existing ones that included
Also there was a feature request for this in #1232, which is already closed anyway.
Going to need to dig into this more.
It wiped the
Sorry for the massive delay on this. So this was a bug in aapt2 that I think was related to this - https://issuetracker.google.com/issues/73456168
As this request is nearly 6 months old (Apologies for that). I pulled this change down again and all my tests locally (mac) are passing, so I just updated this project with the latest codebase.
Going to let the CI run with latest code and dive in again. I think we just had to wait on AOSP for this.