root@kali:/usr/share# apktool b /sdcard/malicious/lite
I: Using Apktool 2.4.1
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 2): [/tmp/brut_util_Jar_2285372021417925437.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 28, --version-code, 244869092, --version-name, 216.0.0.10.121, --no-version-vectors, -F, /tmp/APKTOOL6438902344247228489.tmp, -e, /tmp/APKTOOL335927903907616092.tmp, -0, arsc, -I, /root/.local/share/apktool/framework/1.apk, -S, /sdcard/malicious/lite/res, -M, /sdcard/malicious/lite/AndroidManifest.xml]
W: /tmp/brut_util_Jar_2285372021417925437.tmp: 1: ELF: not found
W: /tmp/brut_util_Jar_2285372021417925437.tmp: 1: Syntax error: end of file unexpected (expecting ")")
This problem occurs when i try to recompile the apk file
root@kali:/usr/share# apktool b /sdcard/malicious/lite I: Using Apktool 2.4.1 I: Checking whether sources has changed... I: Checking whether resources has changed... I: Building resources... brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 2): [/tmp/brut_util_Jar_2285372021417925437.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 28, --version-code, 244869092, --version-name, 216.0.0.10.121, --no-version-vectors, -F, /tmp/APKTOOL6438902344247228489.tmp, -e, /tmp/APKTOOL335927903907616092.tmp, -0, arsc, -I, /root/.local/share/apktool/framework/1.apk, -S, /sdcard/malicious/lite/res, -M, /sdcard/malicious/lite/AndroidManifest.xml] W: /tmp/brut_util_Jar_2285372021417925437.tmp: 1: ELF: not found W: /tmp/brut_util_Jar_2285372021417925437.tmp: 1: Syntax error: end of file unexpected (expecting ")") This problem occurs when i try to recompile the apk file