Open Skuxblan opened 5 months ago
apktool d -f -r apkfilename.apk
here -f is to replace previous decompiled apk's code and -r is to ignore the decompiling of resources.
this would prevent the resources from being decompiled and will simply copy the same resources when you recompile the apk.
However, it is not possible to set these apktool settings in mitm-app? I couldn't find it. Please help me
apktool -r d *.apk
just add -r .
-r, --no-res
This will prevent the decompile of resources. This keeps the resources.arsc intact without any decode. If only editing Java (smali) then this is the recommended action for faster decompile & rebuild
Solution to the problem:
during --wait function you should copy the files to another location, add resources.arsc to the decoded folder and enter the path to the decoded folder in place of the former path to the application.
However, I got another problem: signing the app doesn't work. Lol. Stupidity
Solution to the problem:
during --wait function you should copy the files to another location, add resources.arsc to the decoded folder and enter the path to the decoded folder in place of the former path to the application.
However, I got another problem: signing the app doesn't work. Lol. Stupidity
It's all about Apktool compatibility. I think only apktool dev can bring any changes to make it works. Check that: https://github.com/iBotPeaches/Apktool/issues/3436
Hello, I ran into a problem when trying to use apk-mitm to decode and modify the APK file. There appears to be a bug with Apktool and AAPT during the encoding process. On default version of Apktool it stops on error while Decoding APK file
Here are the details:
apk-mitm version: 1.2.1 Apktool version: 2.9.3 APK file: com.facebook.orca_452.0.0.50.109-320409634_minAPI21(armeabi-v7a)(360,400,420,480dpi)_apkmirror.com.apk same error with different versions and different tested apk e.g. youtube Operating system: Windows 11 Path to apktool.jar: C:\Windows\apktool.jar it's 2.9.3 but I have tried also with few oldest
During the encoding process, I receive many errors regarding invalid XML file paths in the
res\color.2\
directory. Here is my console:I can also provide full logs if required. Could anyone help me understand what might be causing these errors and how to fix them?
Thank you for your help.