[Samsung Galaxy Nexus] vince.26:
Has anyone else has this problem with apktool on mac os X 10.7.4? I tried to recompile the framework-res to have a smaller navigation bar.

dyn172-30-14-218:downloads vincentdinculescu$ apktool b framework-res

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

(skipping hidden file '/Users/vincentdinculescu/Downloads/framework-res/res/.DS_Store')

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/anim-sw720dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/drawable-sw600dp-nodpi

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/drawable-sw600dp-xhdpi

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/drawable-sw720dp-nodpi

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/layout-sw600dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/layout-sw720dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/layout-w600dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-h720dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-sw600dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-sw600dp-land

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-sw600dp-w960dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-sw720dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-sw720dp-land

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-sw720dp-port

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-sw720dp-w1280dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-w360dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-w480dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-w500dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-w600dp

invalid resource directory name: /Users/vincentdinculescu/Downloads/framework-res/res/values-w720dp

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /var/folders/hw/7n7686ms0gq9d5hkf7gbytlw0000gn/T/APKTOOL5798937651531490956.tmp, -x, -S, /Users/vincentdinculescu/Downloads/framework-res/res, -M, /Users/vincentdinculescu/Downloads/framework-res/AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)

at brut.androlib.Androlib.buildResources(Androlib.java:248)

at brut.androlib.Androlib.build(Androlib.java:171)

at brut.androlib.Androlib.build(Androlib.java:154)

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, /var/folders/hw/7n7686ms0gq9d5hkf7gbytlw0000gn/T/APKTOOL5798937651531490956.tmp, -x, -S, /Users/vincentdinculescu/Downloads/framework-res/res, -M, /Users/vincentdinculescu/Downloads/framework-res/AndroidManifest.xml]

at brut.util.OS.exec(OS.java:83)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)

... 6 more

dyn172-30-14-218:downloads vincentdinculescu$