[Android Software Development] claytonjn:
Okay, I'm trying to work on the SystemUI.apk file on my Galaxy S4 with android 4.3. I'm using the WIP-2.0 branch (I downloaded it again tonight to make sure it was up to date.)

Right now I'm just trying to decompile and immediately recompile without making any changes, so I know the mods I intend to implement aren't the issue. I used the script to install framework-res.apk, twframework-res.apk, and SystemUI.apk.

Here's the error from the log:

--------------------------------------------------------------------------
|Mon 01/13/2014 -- 18:43:27.72|
--------------------------------------------------------------------------
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
A subdirectory or file modified-system-apk-files-here already exists.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Clayton\AppData\Local\Temp\brut_util_Jar_1529915768623558036.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-I9505XXUEMKE, -F, C:\Users\Clayton\AppData\Local\Temp\APKTOOL3202054876401017180.tmp, -0, arsc, -I, C:\Users\Clayton\apktool\framework\1.apk, -S, D:\Clayton\Android\APKMT-WIP_1-13-14\projects\SystemUI.apk\res, -M, D:\Clayton\Android\APKMT-WIP_1-13-14\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
at brut.androlib.Androlib.buildResources(Androlib.java:362)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Clayton\AppData\Local\Temp\brut_util_Jar_1529915768623558036.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-I9505XXUEMKE, -F, C:\Users\Clayton\AppData\Local\Temp\APKTOOL3202054876401017180.tmp, -0, arsc, -I, C:\Users\Clayton\apktool\framework\1.apk, -S, D:\Clayton\Android\APKMT-WIP_1-13-14\projects\SystemUI.apk\res, -M, D:\Clayton\Android\APKMT-WIP_1-13-14\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:469)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Clayton\AppData\Local\Temp\brut_util_Jar_1529915768623558036.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-I9505XXUEMKE, -F, C:\Users\Clayton\AppData\Local\Temp\APKTOOL3202054876401017180.tmp, -0, arsc, -I, C:\Users\Clayton\apktool\framework\1.apk, -S, D:\Clayton\Android\APKMT-WIP_1-13-14\projects\SystemUI.apk\res, -M, D:\Clayton\Android\APKMT-WIP_1-13-14\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:463)
... 6 more
Caused by: java.io.IOException: Cannot run program "C:\Users\Clayton\AppData\Local\Temp\brut_util_Jar_1529915768623558036.tmp": CreateProcess error=5, Access is denied
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=5, Access is denied
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more

Does anyone have any ideas regarding how to resolve the errors? I got this error previously and switching to the Experimental branch fixed it and I was compilling on that with some theme apks without issue, but it was giving errors for SystemUI.apk which is why I tried the WIP-2.0 branch.

Any input would be greatly appreciated.