brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 7574436, --version-name, 7.5.74 (1997312-436), -F, /data/data/per.pqy.apktool/APKTOOL6615723638820564126.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/Lab/com.google.android.gms-v7574436_src/res, -M, /sdcard/Lab/com.google.android.gms-v7574436_src/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

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

,
Expert tip

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

Solutions on the web

via 4pda.ru by Unknown author, 1 year ago
brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 7574436, --version-name, 7.5.74 (1997312-436), -F, /data/data
via GitHub by giorkam80
, 1 year ago
brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0.2-G901FXXU1BOH4
via catatandroid.com by Unknown author, 1 year ago
brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 1231505221, --version-name, 1.2.3.150522
via GitHub by ltsjames
, 1 year ago
brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 14, --target-sdk-version, 21, --version-code, 143, --version-name, 10.8.5.7666, -F, /data/data
via web.id by Unknown author, 1 year ago
, --version-code, 19, --version-name, 4.4.4, -F, /data/data/per.pqy.apktool/APKTOOL1945376150069348777.tmp, -0, resources.arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -I, /data/data/per.pqy.apktool/16.apk, -I, /data/data/per.pqy.apktool/17.apk, -S, /sdcard/.aapk/MiuiSystemUI_src/res, -M, /sdcard/.aapk/MiuiSystemUI_src/AndroidManifest.xml]
via GitHub by imamsyaif
, 2 years ago
, --version-name, 4.2.2-JHDMIBF29.0, -F, /data/data/per.pqy.apktool/APKTOOL2952769776282806570.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -I, ?/apktool/framework/6.apk, -S, /mnt/sdcard/Aproject/Phone_src/res, -M, /mnt/sdcard/Aproject/Phone_src/AndroidManifest.xml]
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)
at java.lang.Runtime.exec(Runtime.java:617)
at java.lang.Runtime.exec(Runtime.java:485)
at brut.util.OS.exec(OS.java:84)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:444)
at brut.androlib.Androlib.buildResources(Androlib.java:396)
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)

Users with the same issue

2 times, 1 month ago
Once, 1 month ago
Once, 2 months ago
15 times, 2 months ago
6 times, 3 months ago

Write tip

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