mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
6cfa79e456
We take advantage of the fact that baksmali can determine the minimum API version needed for a given collection of opcodes and extract it, then save to mMinSdkVersion, which is only used by smali via buildSourcesSmali. This change, in addition to my previous change, allows to decompile and recompile JARs without worrying about specifying an API version via -api/--api-level. As an extra, added webp file extension to NO_COMPRESS_PATTERN, according to AAPT2 standards, and since it's factually never compresses as it's an already compressed format. https://cs.android.com/android/platform/superproject/+/master:frameworks/base/tools/aapt2/cmd/Link.cpp;l=2328 |
||
---|---|---|
.. | ||
apktool-cli | ||
apktool-lib |