brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: aapt, p, -F, /tmp/APKTOOL3418222472327622786.tmp, -I, /home/apktool/framework/1.apk, -S, /home/.../ /home/.../AndroidManifest.xml]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Solutions on the web

via Ask Ubuntu by Quesurfin
, 1 year ago
brut.common.BrutException: could not exec command: aapt, p, -F, /tmp/APKTOOL3418222472327622786.tmp, -I, /home/apktool/framework/1.apk, -S, /home/.../ /home/.../AndroidManifest.xml]
via GitHub by iBotPeaches
, 2 years ago
brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5145405714828906240.tmp, -I, /home/user/apktool/framework/1.apk, -S, /home/user/com.app/res, -M, /home/user/com.app/AndroidManifest.xml]
via Stack Overflow by user3046636
, 1 year ago
brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL3630495287059303807.tmp, -I, /home/awesomename/apktool/framework/1.apk, -S, /home/awesomename/out/./res, -M, /home/awesomename/out/./AndroidManifest.xml]
via GitHub by iBotPeaches
, 2 years ago
brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6668630452041759592.tmp, -I, /home/funt/apktool/framework/1.apk, -S, /home/funt/apktool/Settings/res, -M, /home/funt/apktool/Settings/AndroidManifest.xml]
via Stack Overflow by Nirmal Ram
, 1 year ago
brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4811911322257021960.tmp, -I, /home/seat2/apktool/framework/1.apk, -S, /home/seat2/Desktop/apktool/gallery/res, -M, /home/seat2/Desktop/apktool/gallery/AndroidManifest.xml]
via GitHub by iBotPeaches
, 2 years ago
brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL2547376524106737809.tmp, -I, /home/yhong/apktool/framework/1.apk, -S, /home/yhong/apktool/SystemUI/res, -M, /home/yhong/apktool/SystemUI/AndroidManifest.xml]
java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:78)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.