[Galaxy Ace S5830 General] DigitalUnderground:
so... I'm decompiling, editing, and recompiling framework-res.apk. I installed the framework to my system. I decompiled. I edited with notepad++. I typed in the recompile command and got this:

C:\Android\apktool>apktool b framework1 framework-res-new.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Android\apktool\framework1\res/anim-sw720dp
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw32
0dp-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw32
0dp-w533dp-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw36
0dp-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw36
0dp-w598dp-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw36
0dp-w640dp-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw36
0dp-w640dp-xhdpi
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw36
0dp-xhdpi
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw40
0dp-w640dp-xhdpi
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw40
0dp-xhdpi
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw60
0dp-xhdpi
invalid resource directory name: C:\Android\apktool\framework1\res/drawable-sw72
0dp-nodpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw320d
p-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw320d
p-land-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw320d
p-w533dp-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw360d
p
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw360d
p-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw360d
p-land-xhdpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw360d
p-w598dp-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw360d
p-w640dp-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw360d
p-xhdpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw400d
p-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw400d
p-w640dp-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw600d
p
invalid resource directory name: C:\Android\apktool\framework1\res/layout-sw720d
p
invalid resource directory name: C:\Android\apktool\framework1\res/layout-w600dp

invalid resource directory name: C:\Android\apktool\framework1\res/values-h720dp

invalid resource directory name: C:\Android\apktool\framework1\res/values-sw320d
p
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw320d
p-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw360d
p
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw360d
p-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw360d
p-land
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw400d
p-hdpi
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw600d
p
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw600d
p-land
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw600d
p-w960dp
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw720d
p
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw720d
p-land
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw720d
p-port
invalid resource directory name: C:\Android\apktool\framework1\res/values-sw720d
p-w1280dp
invalid resource directory name: C:\Android\apktool\framework1\res/values-w360dp

invalid resource directory name: C:\Android\apktool\framework1\res/values-w480dp

invalid resource directory name: C:\Android\apktool\framework1\res/values-w500dp

invalid resource directory name: C:\Android\apktool\framework1\res/values-w600dp

invalid resource directory name: C:\Android\apktool\framework1\res/values-w720dp

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Wayne\AppData\Local\Temp\A
PKTOOL2327014516158524028.tmp, -x, -S, C:\Android\apktool\framework1\res, -M, C:
\Android\apktool\framework1\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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, C:\U
sers\Wayne\AppData\Local\Temp\APKTOOL2327014516158524028.tmp, -x, -S, C:\Android
\apktool\framework1\res, -M, C:\Android\apktool\framework1\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more

can anyone please help?