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]

4pda.ru | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Apktool - 4PDA

    4pda.ru | 8 months ago
    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]
  2. 0

    Compilation not working if apktool is not on the parent folder of the src folder.

    GitHub | 2 years ago | GoogleCodeExporter
    brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 4, --target-sdk-version, 11, -F, /var/folders/qx/47_32xcj3db0kgjbd43142g40000gn/T/APKTOOL7982179771025126033.tmp, -0, arsc, -I, /Users/Dev/Library/apktool/framework/1.apk, -S, /Users/Dev/Workspace/apktool/./tmp/res, -M, /Users/Dev/Workspace/apktool/./tmp/AndroidManifest.xml]
  3. 0

    GitHub comment 66#73577568

    GitHub | 2 years ago | kat0072
    brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /tmp/APKTOOL8605491656149880459.tmp, -x, -S, /home/kat0072/patchrom/m7ul/out/framework-res/res, -M, /home/kat0072/patchrom/m7ul/out/framework-res/AndroidManifest.xml]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cannot pack decompiled package in ubuntu

    GitHub | 1 year ago | juxiangwu
    brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_1849179997615666734.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 23, --version-code, 1, --version-name, 1.0, -F, /tmp/APKTOOL4414689351894874391.tmp, -0, resources.arsc, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /root/Develop/tool-sets/ApkTool/app-debug/res, -M, /root/Develop/tool-sets/ApkTool/app-debug/AndroidManifest.xml]
  6. 0

    apktool cannot recompile the apk after (decode and then build)

    Stack Overflow | 1 year ago | Question-er XDD
    brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_49135464892749518.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 1, --version-name, 1.0, -F, /tmp/APKTOOL499773345384388135.tmp, -0, resources.arsc, -0, arsc, -I, /home/fyp/apktool/framework/1.apk, -S, /home/fyp/fyp201516/test/a.apk_temp/res, -M, /home/fyp/fyp201516/test/a.apk_temp/AndroidManifest.xml]

  1. PKeidel 3 times, last 3 months ago
  2. serious2monkeys 1 times, last 4 months ago
  3. Handemelindo 6 times, last 5 months ago
  4. kid 5 times, last 5 months ago
  5. rp 2 times, last 5 months ago
4 more registered users
75 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    error=2, No such file or directory

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    Runtime.exec
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:130)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
    5. java.lang.Runtime.exec(Runtime.java:617)
    6. java.lang.Runtime.exec(Runtime.java:485)
    6 frames
  3. Apktool
    OS.exec
    1. brut.util.OS.exec(OS.java:84)
    1 frame
  4. brut.androlib.res
    AndrolibResources.aaptPackage
    1. brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)
    1 frame
  5. Apktool
    Androlib.build
    1. brut.androlib.Androlib.buildResourcesFull(Androlib.java:444)
    2. brut.androlib.Androlib.buildResources(Androlib.java:396)
    3. brut.androlib.Androlib.build(Androlib.java:285)
    4. brut.androlib.Androlib.build(Androlib.java:256)
    4 frames
  6. brut.apktool
    Main.main
    1. brut.apktool.Main.cmdBuild(Main.java:225)
    2. brut.apktool.Main.main(Main.java:84)
    2 frames