[Xperia Z Q&A, Help & Troubleshooting] SuperHanss:
Hey guys, I'm trying to recompile Home.apk but I'm getting multiple errors, anyone know a solution to this?

Cheers ;)

C:\apktool>apktool b C:\apktool\home
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\apktool\home\res\values\styles.xml:25: error: Error retrieving parent for ite
m: No resource found that matches the given name 'Layout'.
C:\apktool\home\res\values\styles.xml:33: error: Error retrieving parent for ite
m: No resource found that matches the given name 'Layout.CuiMainMenuItem'.
C:\apktool\home\res\values-land\styles.xml:3: error: Error retrieving parent for
item: No resource found that matches the given name 'Layout.CuiMainMenuItem'.
C:\apktool\home\res\values\styles.xml:49: error: Error retrieving parent for ite
m: No resource found that matches the given name 'Layout.CuiMainMenuItem'.
C:\apktool\home\res\values\styles.xml:57: error: Error retrieving parent for ite
m: No resource found that matches the given name 'Layout'.
C:\apktool\home\res\values-land\styles.xml:24: error: Error retrieving parent fo
r item: No resource found that matches the given name 'Layout'.
C:\apktool\home\res\values-sw800dp\styles.xml:7: error: Error retrieving parent
for item: No resource found that matches the given name 'Layout.CuiPickerTitle'.

C:\apktool\home\res\values-sw800dp-v17\styles.xml:13: error: Error retrieving pa
rent for item: No resource found that matches the given name 'Layout.CuiPickerTi
tle'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\JEEBO_~1\AppData\Local\T
emp\APKTOOL7086740129581580055.tmp, -0, arsc, -I, E:\apktool\framework\1.apk, -I
, E:\apktool\framework\2.apk, -S, C:\apktool\home\res, -M, C:\apktool\home\Andro
idManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\JEEBO_~1\AppData\Local\Temp\APKTOOL7086740129581580055.tmp, -0, arsc, -I,
E:\apktool\framework\1.apk, -I, E:\apktool\framework\2.apk, -S, C:\apktool\home
\res, -M, C:\apktool\home\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\JEEBO_~1\AppData\Local\Tem
p\APKTOOL7086740129581580055.tmp, -0, arsc, -I, E:\apktool\framework\1.apk, -I,
E:\apktool\framework\2.apk, -S, C:\apktool\home\res, -M, C:\apktool\home\Android
Manifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more