Apktool: Can't Recompile any android app. Exit code 132
Information
- **Apktool Version (`latest one 2.4.1)
- **Operating System (Linux)
- **APK From? (Any app from anywhere “Android app”)
Stacktrace/Logcat
kali@localhost:/$ apktool b virus1 I: Using Apktool 2.4.1 I: Checking whether sources has changed… I: Smaling smali folder into classes.dex… I: Checking whether resources has changed… I: Building resources… brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 132): [/tmp/brut_util_Jar_15924582530676693049.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 22, --version-code, 1, --version-name, 1.0, --no-version-vectors, -F, /tmp/APKTOOL11389677012534912681.tmp, -e, /tmp/APKTOOL14404947888819616738.tmp, -0, arsc, -I, /home/kali/.local/share/apktool/framework/1.apk, -S, /virus1/res, -M, /virus1/AndroidManifest.xml]nclude stacktrace here
### Steps to Reproduce
1. `apktool `
### Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(`.apks` that live in `/system/framework` or `/system/priv-app`)
### APK
If this APK can be freely shared, please upload/attach a link to it.
### Questions to ask before submission
1. Have you tried `apktool d`, `apktool b` without changing anything?
2. If you are trying to install a modified apk, did you resign it?
3. Are you using the latest apktool version?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 25 (5 by maintainers)
@mertbeet - We don’t officially support running Apktool on a device. Sorry.
Hey @canxx99 , I’m going to remove your post. I shy away from sharing binaries due to security reasons. You are welcome to share source changes or even upstream them, but we won’t share binaries due to the possible security implications.