[Android Software Development] HackitZ:
tool is awesome and needed for xperia modders, thanks for the hard work BDFreak.

I do have an issue though.

I have had no problems editing the average apk file, but as soon as i try to edit a semc apk like SemcPhone.apk i get errors when recompiling.

here's my info and log.

base rom i'm pulling apk's from, xperia z1 compact android 4.3 uk generic.

tried framework from xperia z1 compact 4.3

have tried SemcGenericUxpRes, from z1 compact 4.3, xperia zl SemcGenericUxpRes from 4.2.2

I have tried to just decompile edit nothing and just recopmpile and still get this error, success : no

Log

Log For : SemcPhone.apk

Log Type : Recompiling

Log Recorded At : Sat 15-03-2014 8:55:58.71

Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak

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

invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000
invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000-zh-rCN
invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000-zh-rHK
invalid resource directory name: C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res/values-mcc454-mnc1000-zh-rTW
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\myname~1\AppData\Local\Temp\brut_util_Jar_3424579942404759717.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 18, --version-name, 4.3-22, -F, C:\Users\myname~1\AppData\Local\Temp\APKTOOL1593545305589120450.tmp, -0, arsc, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res, -M, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
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\myname~1\AppData\Local\Temp\brut_util_Jar_3424579942404759717.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 18, --version-name, 4.3-22, -F, C:\Users\myname~1\AppData\Local\Temp\APKTOOL1593545305589120450.tmp, -0, arsc, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res, -M, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\myname~1\AppData\Local\Temp\brut_util_Jar_3424579942404759717.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 18, --version-name, 4.3-22, -F, C:\Users\myname~1\AppData\Local\Temp\APKTOOL1593545305589120450.tmp, -0, arsc, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\res, -M, C:\android\AdvancedApkTool\3-Out\SemcPhone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
... 6 more

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