brut.androlib.AndrolibException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

tip

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

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Recompile error
    via GitHub by PLUKo
    ,
  • GitHub comment 13#91825484
    via GitHub by PLUKo
    ,
  • GitHub comment 1011#126205651
    via GitHub by rajdeep74
    ,
  • GitHub comment 1011#126210350
    via GitHub by rajdeep74
    ,
  • GitHub comment 66#73577568
    via GitHub by kat0072
    ,
    • 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] at brut.androlib.Androlib.buildResourcesFull(Androlib.java:357) at brut.androlib.Androlib.buildResources(Androlib.java:282) at brut.androlib.Androlib.build(Androlib.java:205) at brut.androlib.Androlib.build(Androlib.java:176) at brut.apktool.Main.cmdBuild(Main.java:218) at brut.apktool.Main.main(Main.java:74) Caused by: 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] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:349) at brut.androlib.Androlib.buildResourcesFull(Androlib.java:335) ... 5 more Caused by: 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] at brut.util.OS.exec(OS.java:93) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:347) ... 6 more Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, Das System kann die angegebene Datei nicht finden at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at brut.util.OS.exec(OS.java:84) ... 7 more Caused by: java.io.IOException: CreateProcess error=2, Das System kann die angegebene Datei nicht finden at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 11 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    141 more bugmates