linux下打包出现brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_22418586694498,解决方案
来源:互联网 发布:好的监控软件 编辑:程序博客网 时间:2024/06/08 13:16
出现了以下错误:I: Using Apktool 2.0.1I: 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: [/tmp/brut_util_Jar_224185866944982275.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 22, --version-code, 1, --version-name, Developer Build, -F, /tmp/APKTOOL6017041239150380880.tmp, -0, arsc, -I, /home/super/apktool/framework/1.apk, -S, /home/super/getSource/342020/res, -M, /home/super/getSource/342020/AndroidManifest.xml] 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: [/tmp/brut_util_Jar_224185866944982275.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 22, --version-code, 1, --version-name, Developer Build, -F, /tmp/APKTOOL6017041239150380880.tmp, -0, arsc, -I, /home/super/apktool/framework/1.apk, -S, /home/super/getSource/342020/res, -M, /home/super/getSource/342020/AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:445) ... 5 moreCaused by: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_224185866944982275.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 22, --version-code, 1, --version-name, Developer Build, -F, /tmp/APKTOOL6017041239150380880.tmp, -0, arsc, -I, /home/super/apktool/framework/1.apk, -S, /home/super/getSource/342020/res, -M, /home/super/getSource/342020/AndroidManifest.xml] at brut.util.OS.exec(OS.java:93) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413) ... 6 moreCaused 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 moreCaused 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
我在CentOS下,遇到一个一样的问题,好像是64位系统下不支持32位appt程序导致的,后来通过root权限,使用CentOS下的命令:
12yum update libstdc++
yum
install
libstdc++.i686 glibc.i686 zlib.i686
安装了32位的 glibc、zlib、libstdc++把这个问题解决了。不知道能不能为你在Ubuntu下提供一点帮助。
1 0
- linux下打包出现brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_22418586694498,解决方案
- [ApktoolException]brut.common.brutexception
- ApkTool反编译出错brut.common.brutexception及java.io.filenotfoundexception 之一
- Linux下使用apktool打包apk报brut.androlib.AndrolibException
- win10下SOPC Builder 在generate时出现could not find /tmp, please create
- could not create /tmp
- Linux下unzip命令出现 command not found的解决办法
- hexo博客出现command not found解决方案
- qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory 解决方案
- Windows平台下IDEA中git出现could not read from remote repository解决方案
- arm-linux-gcc: Command not found 解决方案
- Linux下启动weka出现Error, not in CLASSPATH?解决方案
- Linux下出现launch failed.Binary not found的解决方案
- Linux下出现launch failed.Binary not found的解决方案:
- could not exec dpkg!解决
- Linux Could not get lock 解决方案
- linux出现command not found的解决方法
- linux:定时任务出现command not found
- java并发包java.util.concurrent
- spirng引入多个.properties文件
- 多线程 - 障碍器CyclicBarrier
- mysql远程连接10061
- 利用pandas读取中文数据集
- linux下打包出现brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_22418586694498,解决方案
- struts异常声明机制的实现和原理
- Ugly Number
- svn教程
- 欢迎使用CSDN-markdown编辑器
- CollapsingToolbarLayout
- ioctl()函数详解
- Python三维数组
- Python - 私有方法,专有方法