Open r3v3rs3-D opened 4 years ago
Seems the same to me too.
@dpnishant is there a way to integrate this temporary solution? https://github.com/iBotPeaches/Apktool/issues/1880
same here.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/fz/bk91_ksx0sbfll3tjq32rc1c0000gn/T/brut_util_Jar_116438534712133790824894208157382643086.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 30, --version-code, 3080, --version-name, 3.3.00, --no-version-vectors, -F, /var/folders/fz/bk91_ksx0sbfll3tjq32rc1c0000gn/T/APKTOOL18324079989942587749.tmp, -e, /var/folders/fz/bk91_ksx0sbfll3tjq32rc1c0000gn/T/APKTOOL7188363647459584557.tmp, -0, arsc, -I, /Users/username/Library/apktool/framework/1.apk, -S, /tmp/appmon_apk/com.example.app/res, -M, /tmp/appmon_apk/com.example.app/AndroidManifest.xml]
Traceback (most recent call last):
File "/Users/username/Desktop/GitHub/appmon/apk_builder/apk_builder.py", line 178, in <module>
build_apk_output = subprocess.check_output(["apktool", "build", os.path.join(WORK_DIR, package_name)])
File "/opt/homebrew/Cellar/python@3.10/3.10.2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/opt/homebrew/Cellar/python@3.10/3.10.2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['apktool', 'build', '/tmp/appmon_apk/com.example.app']' returned non-zero exit status 1.
After looking up this problem, they say it has to do with apktool, I'm not sure but any help would be appreciated.
This the stack trace: