[Galaxy S II Android Development] TheMasterOfToast:
According to thread the recompile code is

apktool b framework-res[B].apk[/B]

But is your way the correct :confused:

I can decompile it, but when recompiling i get many many errors. And i had done nothing except just change the picture..

Wait, i can see if i can copy the error code from cmd to here...

*edit here's the code from cmd after typing the recompile code

C:\Users\Hule>cd ..

C:\Users>cd..

C:\>apktool
apktool är inte ett internt kommando, externt kommando,
program eller kommandofil.

C:\>cd apktool

C:\apktool>apktool b NeatROM framework-res-new.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\apktool\NeatROM\res/anim-sw720dp
invalid resource directory name: C:\apktool\NeatROM\res/drawable-sw320dp-hdpi
invalid resource directory name: C:\apktool\NeatROM\res/drawable-sw320dp-w533dp-
hdpi
invalid resource directory name: C:\apktool\NeatROM\res/drawable-sw360dp-hdpi
invalid resource directory name: C:\apktool\NeatROM\res/drawable-sw360dp-w598dp-
hdpi
invalid resource directory name: C:\apktool\NeatROM\res/drawable-sw360dp-w640dp-
hdpi
invalid resource directory name: C:\apktool\NeatROM\res/drawable-sw600dp-hdpi
invalid resource directory name: C:\apktool\NeatROM\res/layout-sw320dp-hdpi
invalid resource directory name: C:\apktool\NeatROM\res/layout-sw320dp-land-hdpi

invalid resource directory name: C:\apktool\NeatROM\res/layout-sw320dp-w533dp-hd
pi
invalid resource directory name: C:\apktool\NeatROM\res/layout-sw360dp
invalid resource directory name: C:\apktool\NeatROM\res/layout-sw360dp-hdpi
invalid resource directory name: C:\apktool\NeatROM\res/layout-sw360dp-w598dp-hd
pi
invalid resource directory name: C:\apktool\NeatROM\res/layout-sw360dp-w640dp-hd
pi
invalid resource directory name: C:\apktool\NeatROM\res/layout-sw400dp-hdpi
invalid resource directory name: C:\apktool\NeatROM\res/layout-sw400dp-w640dp-hd
pi
invalid resource directory name: C:\apktool\NeatROM\res/layout-sw600dp
invalid resource directory name: C:\apktool\NeatROM\res/layout-sw720dp
invalid resource directory name: C:\apktool\NeatROM\res/layout-w600dp
invalid resource directory name: C:\apktool\NeatROM\res/values-h720dp
invalid resource directory name: C:\apktool\NeatROM\res/values-sw320dp
invalid resource directory name: C:\apktool\NeatROM\res/values-sw320dp-hdpi
invalid resource directory name: C:\apktool\NeatROM\res/values-sw360dp
invalid resource directory name: C:\apktool\NeatROM\res/values-sw360dp-hdpi
invalid resource directory name: C:\apktool\NeatROM\res/values-sw360dp-land
invalid resource directory name: C:\apktool\NeatROM\res/values-sw400dp-hdpi
invalid resource directory name: C:\apktool\NeatROM\res/values-sw600dp
invalid resource directory name: C:\apktool\NeatROM\res/values-sw600dp-land
invalid resource directory name: C:\apktool\NeatROM\res/values-sw600dp-w960dp
invalid resource directory name: C:\apktool\NeatROM\res/values-sw720dp
invalid resource directory name: C:\apktool\NeatROM\res/values-sw720dp-land
invalid resource directory name: C:\apktool\NeatROM\res/values-sw720dp-port
invalid resource directory name: C:\apktool\NeatROM\res/values-sw720dp-w1280dp
invalid resource directory name: C:\apktool\NeatROM\res/values-sw800dp
invalid resource directory name: C:\apktool\NeatROM\res/values-w360dp
invalid resource directory name: C:\apktool\NeatROM\res/values-w480dp
invalid resource directory name: C:\apktool\NeatROM\res/values-w500dp
invalid resource directory name: C:\apktool\NeatROM\res/values-w600dp
invalid resource directory name: C:\apktool\NeatROM\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Hule\AppData\Local\Temp\AP
KTOOL3287410753319257810.tmp, -x, -S, C:\apktool\NeatROM\res, -M, C:\apktool\Nea
tROM\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\Hule\AppData\Local\Temp\APKTOOL3287410753319257810.tmp, -x, -S, C:\apktool\
NeatROM\res, -M, C:\apktool\NeatROM\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more

C:\apktool>