ShinySide
Extreme Android User
So I broke my apktool a while back. Tried to fix it and gave up on it and then tried again...no dice.It would not recompile, decompile with out issue but wouldnt recompile. So I started looking around and found V2.0.3-autoAPKTool. Its apk multitool thats been given an interface other then just a cmd. Actually pretty cool. Well once again I could decompile but not recompile. I then got it to the point where it would get stuck running/opening the apktool_1.3.2.jar Thats the only thing it told me in the log was it couldnt open that jar to recompile. Fixed that and now I get this error which its pretty much the same one I got running apkmultitool...Anyone make light on it and tell/show me how to get this *beep* up and running so I can recompile an apk?
Heres whats in my error log:
-----------------------------------------------------
[*] Processing framework-res folder...
-----------------------------------------------------
Recompiling framework-res.apk...
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Adam\AppData\Local\Temp\APKTOOL1002924117280004880.tmp, -x, -S, C:\Users\Adam\Downloads\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\Users\Adam\Downloads\xdaAutoTool\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Adam\AppData\Local\Temp\APKTOOL1002924117280004880.tmp, -x, -S, C:\Users\Adam\Downloads\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\Users\Adam\Downloads\xdaAutoTool\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
... 8 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
DONE!
Heres whats in my error log:
-----------------------------------------------------
[*] Processing framework-res folder...
-----------------------------------------------------
Recompiling framework-res.apk...
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Adam\AppData\Local\Temp\APKTOOL1002924117280004880.tmp, -x, -S, C:\Users\Adam\Downloads\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\Users\Adam\Downloads\xdaAutoTool\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Adam\AppData\Local\Temp\APKTOOL1002924117280004880.tmp, -x, -S, C:\Users\Adam\Downloads\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\Users\Adam\Downloads\xdaAutoTool\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
... 8 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
DONE!