codehasan / dex2c

🎇 AOT compiler to translate dalvikvm code into cpp code
Apache License 2.0
175 stars 41 forks source link

apktool error #21

Closed adhksosne closed 2 months ago

adhksosne commented 5 months ago

[ERROR ] dcc: Compile input.apk failed! Traceback (most recent call last): File "D:\dex2c-master\dcc.py", line 1017, in dcc_main( File "D:\dex2c-master\dcc.py", line 786, in dcc_main decompiled_dir = ApkTool.decompile(apkfile) File "D:\dex2c-master\dcc.py", line 116, in decompile check_call([APKTOOL2, 'd', '-r', '-f', '-o', outdir, apk]) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['tools/apktool.bat', 'd', '-r', '-f', '-o', '.tmp\dcc-apktool-4iKgmTdI', 'input.apk']' returned non-zero exit status 1. Command '['tools/apktool.bat', 'd', '-r', '-f', '-o', '.tmp\dcc-apktool-4iKgmTdI', 'input.apk']' returned non-zero exit status 1.

NoName1510 commented 3 months ago

How to fix it

adhksosne commented 2 months ago

How to fix it

Look here, https://github.com/codehasan/dex2c/issues/13