我需要 apk 工具来重新打包我的应用程序。所以我将它安装在 Windows 上并在命令行中输入此指令
apktool b decoded myapp.apk
但我收到此错误
enter code here I: Copying classes.dex file...
I: Checking whether resources has changed...
I: Building resources...
ERROR: Asset package include 'C:\Users\jody\apktool\framework\1.apk' not found.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 17, -F, C:\Users\jody\AppData\Local\Temp\APKTOOL8545160768118157496.tmp, -0, arsc, -I, C:\Users\jody\apktool\framework\1.apk, -S, C:\Users\jody\Desktop\RV2013\result\res, -M, C:\Users\jody\Desktop\RV2013\result\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 17, -F, C:\Users\jody\AppData\Local\Temp\APKTOOL8545160768118157496.tmp, -0, arsc, -I, C:\Users\jody\apktool\framework\1.apk, -S, C:\Users\jody\Desktop\RV2013\result\res, -M, C:\Users\jody\Desktop\RV2013\result\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 17, -F, C:\Users\jody\AppData\Local\Temp\APKTOOL8545160768118157496.tmp, -0, arsc, -I, C:\Users\jody\apktool\framework\1.apk, -S, C:\Users\jody\Desktop\RV2013\result\res, -M, C:\Users\jody\Desktop\RV2013\result\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
现在我想问我如何解决这个错误?