Patched apk's installation failuire
anktx opened this issue · 1 comments
anktx commented
╭ apk-mitm v1.2.1
├ apktool v2.6.1
╰ uber-apk-signer v1.2.1
$ adb install-multiple ./app-patched.apk ./config.xxhdpi-patched.apk ./config.arm64_v8a-patched.apk
adb: failed to finalize session
Failure [-124: Failed parse during installPackageLI: Targeting R+ (version 30 and above) requires the resources.arsc of installed APKs to be stored uncompressed and aligned on a 4-byte boundary]
anktx commented
Solution:
$ zipalign -f -p 4 input.apk output.apk