linux下apktool打包反编译文件出错
linux下apktool打包反编译文件出错
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_3403208045162596450.tmp, p, --min-sdk-version, 8, --version-code, 1, --version-name, 1.0, -F, /tmp/APKTOOL8264518047987234519.tmp, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /mnt/wwwroot/www.kppw.cn/apk/new/kppw_android/res, -M, /mnt/wwwroot/www.kppw.cn/apk/new/kppw_android/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)
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: [/tmp/brut_util_Jar_3403208045162596450.tmp, p, --min-sdk-version, 8, --version-code, 1, --version-name, 1.0, -F, /tmp/APKTOOL8264518047987234519.tmp, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /mnt/wwwroot/www.kppw.cn/apk/new/kppw_android/res, -M, /mnt/wwwroot/www.kppw.cn/apk/new/kppw_android/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:488)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_3403208045162596450.tmp, p, --min-sdk-version, 8, --version-code, 1, --version-name, 1.0, -F, /tmp/APKTOOL8264518047987234519.tmp, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /mnt/wwwroot/www.kppw.cn/apk/new/kppw_android/res, -M, /mnt/wwwroot/www.kppw.cn/apk/new/kppw_android/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
... 6 more
Caused by: java.io.IOException: Cannot run program "/tmp/brut_util_Jar_3403208045162596450.tmp": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
at java.lang.Runtime.exec(Runtime.java:617)
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.(UNIXProcess.java:186)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
... 10 more
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论