[Android Software Development] grayn0de:
I am attempting to do a simple test de/recompile of framework-res.apk to make sure I have everything set up properly on a new dev rig (64-bit CrunchBang Linux), but I am getting errors referring me to AndroidManifest.xml:

grayn0de@chaos:~/apktool$ ./apktool d framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
grayn0de@chaos:~/apktool$ ./apktool b framework-res framework-res-new.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp-land
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/layout-w600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp-mdpi
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w500dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w720dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w360dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp-hdpi
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-h720dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp-xhdpi
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp-w1280dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/drawable-sw600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/layout-sw600dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-w480dp
invalid resource directory name: /home/grayn0de/apktool/framework-res/res/values-sw600dp-w1024dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5963956700589881063.tmp, -x, -S, /home/grayn0de/apktool/framework-res/res, -M, /home/grayn0de/apktool/framework-res/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:251)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:325)
at brut.androlib.Androlib.buildResources(Androlib.java:270)
at brut.androlib.Androlib.build(Androlib.java:193)
at brut.androlib.Androlib.build(Androlib.java:175)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5963956700589881063.tmp, -x, -S, /home/grayn0de/apktool/framework-res/res, -M, /home/grayn0de/apktool/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:249)
... 6 more

I'm using the patched aapt (as well as the one from the SDK) and was able to successfully de/recompile com.htc.resources.apk without issue, using fernando sor's tutorial (http://xdaforums.com/showthread.php?t=1651074), but I'm not getting any love with framework-res.apk. I've attempted another one of fernando sor's tutorials (http://xdaforums.com/showthread.php?t=1601511), without luck.

Am I missing something here? Gingerbread work is a breeze and I have no problems modding my old GB ROM files, but ICS/JB is causing me grief. Not sure, after so many hours and apktool/aapt configurations, what I'm doing wrong. Any and all help is appreciated, TIA.