brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 6, --target-sdk-version, 18, -F, C:\Users\PRAKTI~1\AppData\Local\Temp\APKTOOL3772518238685271191.tmp, -I, C:\Users\Praktikant\apktool\framework\1.apk, -S, C:\Users\Praktikant\Downloads\FatFishTest\Unity Project\repack_apk\res, -M, C:\Users\Praktikant\Downloads\FatFishTest\Unity Project\repack_apk\AndroidManifest.xml]

GitHub | SteveWolligandt | 3 years 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

    Soomla example project crashes on startup

    GitHub | 3 years ago | SteveWolligandt
    brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 6, --target-sdk-version, 18, -F, C:\Users\PRAKTI~1\AppData\Local\Temp\APKTOOL3772518238685271191.tmp, -I, C:\Users\Praktikant\apktool\framework\1.apk, -S, C:\Users\Praktikant\Downloads\FatFishTest\Unity Project\repack_apk\res, -M, C:\Users\Praktikant\Downloads\FatFishTest\Unity Project\repack_apk\AndroidManifest.xml]
  2. 0

    Recompile error

    GitHub | 2 years ago | PLUKo
    brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt4.4, p, --min-sdk-version, 7, --target-sdk-version, 19, --version-code, 9, --version-name, 4.7.5, -F, /data/data/per.pqy.apktool/APKTOOL8560060358618287141.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/theme_src/res, -M, /sdcard/theme_src/AndroidManifest.xml]
  3. 0

    Issue 398 new condition: filename

    GitHub | 2 years ago | GoogleCodeExporter
    brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-ve rsion, 15, --target-sdk-version, 15, -F, C:\Users\ADMINI~1\AppData\Local\Temp\APKTOOL8976593864012568497.tmp, -I, C:\Users\Administrator\apktool\framework\1.apk, -S, D:\workspace\Apkz\modding_\..\projects\same.apk\res, -M, D:\workspace\Apkz\modding_\..\projects\same.apk\AndroidManifest.xml]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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]
  6. 0

    GitHub comment 13#91825484

    GitHub | 2 years ago | PLUKo
    brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 14, --target-sdk-version, 19, --version-code, 1501131305, --version-name, 1.0, -F, /data/data/per.pqy.apktool/APKTOOL2314065442227784276.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /sdcard/backups/user/com.sec.android.theme.galaxys6_src/res, -M, /sdcard/backups/user/com.sec.android.theme.galaxys6_src/AndroidManifest.xml]

  1. PKeidel 3 times, last 2 months ago
  2. serious2monkeys 1 times, last 3 months ago
  3. Handemelindo 6 times, last 4 months ago
  4. kid 5 times, last 4 months ago
  5. rp 2 times, last 4 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

    CreateProcess error=2, Das System kann die angegebene Datei nicht finden

    at java.lang.ProcessImpl.create()
  2. Java RT
    Runtime.exec
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(Unknown Source)
    3. java.lang.ProcessImpl.start(Unknown Source)
    4. java.lang.ProcessBuilder.start(Unknown Source)
    5. java.lang.Runtime.exec(Unknown Source)
    6. java.lang.Runtime.exec(Unknown Source)
    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:347)
    1 frame
  5. Apktool
    Androlib.build
    1. brut.androlib.Androlib.buildResourcesFull(Androlib.java:335)
    2. brut.androlib.Androlib.buildResources(Androlib.java:282)
    3. brut.androlib.Androlib.build(Androlib.java:205)
    4. brut.androlib.Androlib.build(Androlib.java:176)
    4 frames
  6. brut.apktool
    Main.main
    1. brut.apktool.Main.cmdBuild(Main.java:218)
    2. brut.apktool.Main.main(Main.java:74)
    2 frames