APKTool重打包失败
Ubuntu下用apktool回编译失败,出现了以下错误:I: Using Apktool 2.0.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command:
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:459)
at brut.androlib.Androlib.buildResources(Androlib.java:397)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:256)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command:
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:445)
... 5 more
Caused by: brut.common.BrutException: could not exec command:
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)
... 6 more
Caused by: java.io.IOException: Cannot run program "/tmp/brut_util_Jar_224185866944982275.tmp": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:485)
at brut.util.OS.exec(OS.java:84)
... 7 more
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 10 more
请问有谁知道原因吗? 百度一个 AndroidKiller_v1.3.1 试试吧 看到这些代码 晕乎乎的。。。 本帖最后由 0xcb 于 2016-9-6 09:17 编辑
/tmp/brut_util_Jar_224185866944982275.tmp 文件不存在,导致执行命令失败
仔细检查一下这个路径下是否有这个临时文件,找原因
0xcb 发表于 2016-9-6 09:16
/tmp/brut_util_Jar_224185866944982275.tmp 文件不存在,导致执行命令失败
谢谢~~~~~~~
问题已解决,多谢大家。 固化剂SDFSDF 问题已解决,多谢大家。 {:biggrin:}{:biggrin:}{:biggrin:}{:biggrin:}{:biggrin:}
页:
[1]