[Java for Android App Development] JuJoejo:
dear anyone can help me, please....

i am trying to decompile .apk using xdaAUTOTOOL v4.03,

following the instruction for decompile it 100% succes but i am facing a problem when try to recompile it,

below are the error message

-----------------------------------------------------

[*] Processing Abacus folder...

-----------------------------------------------------

Recompiling Abacus.apk...

I: Smaling...

I: Building resources...

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\johanes\AppData\Local\Temp\APKTOOL71941129915223021.tmp, -I, C:\Users\johanes\apktool\framework\1.apk, -S, C:\xdaAutoTool_V4.0.3\_INPUT_APK\Abacus\res, -M, C:\xdaAutoTool_V4.0.3\_INPUT_APK\Abacus\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\johanes\AppData\Local\Temp\APKTOOL71941129915223021.tmp, -I, C:\Users\johanes\apktool\framework\1.apk, -S, C:\xdaAutoTool_V4.0.3\_INPUT_APK\Abacus\res, -M, C:\xdaAutoTool_V4.0.3\_INPUT_APK\Abacus\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

and then

----------------------------------------------------

[*] 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\johanes\AppData\Local\Temp\APKTOOL2330454914228838825.tmp, -x, -S, C:\xdaAutoTool_V4.0.3\_INPUT_APK\framework-res\res, -M, C:\xdaAutoTool_V4.0.3\_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\johanes\AppData\Local\Temp\APKTOOL2330454914228838825.tmp, -x, -S, C:\xdaAutoTool_V4.0.3\_INPUT_APK\framework-res\res, -M, C:\xdaAutoTool_V4.0.3\_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!

Please help me to solve this problem