Unable to install Patched XAPK and Patched apk
Approach 1:
Getting the below error when i try to install the patch apk(i downloaded XAPK and unzipped, took the base apk, and ran apk-mitm command, then i got the patched apk. that was not installed.)
Error for Approach 1
adb: failed to install C:\Users\ASUS\Downloads\rv\com.ms-patched.apk: Failure [INSTALL_FAILED_MISSING_SPLIT: Missing split for com.ms]
Approach 2 i downloaded XAPK, and ran apk-mitm command on XAPK, and patched XAPK was generated (SUCESS : Done! Patched file: ./sample_APKPure-patched.xapk) . getting below error when installing
Error For Approach 2 there was a problem while parsing the package
Approach 3 i downloaded APK, and ran apk-mitm command on APK, and patched XAPK was generated (SUCESS : Done! Patched file: ./sample_APKPure-patched.apk) . getting below error when installing
Error For Approach 3 App was installed on device, But Unable to OPEN
Did you use a tool to install the split apk (xapk) when using approach 2, for example Aefyr/SAI?
I have tried apkmirror to download an app and with apk-mitm it sussecfully patched the xapk, now i am having issues to install that? Did you find out the solution? In the patched file when i renamed it into zip, i was supposed to get one obb file and one apk, but there are obb file and multiple apk with different name( i.e: config.tr. apk.idsig), one mainfest.json. Any idea how to solve it?
Having the same issue. Anyone has a solution?
https://github.com/niklashigi/apk-mitm/issues/189#issuecomment-2585650332 mentions that using android-unpinner after apk-mitm fixed the app for them, I haven't tried it yet though. I just completely switched to android-unpinner and Frida.