[Android Software Development] V!KR@M:
Hello everyone, this time when i decompile twframework-res.apk from my rom using apktool, i get the following:

c:\projects>apktool if twframework-res.apk
I: Framework installed to: C:\Users\VIKRAM\apktool\framework\2.apk

c:\projects>apktool d twframework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\VIKRAM\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-mdpi/quick_panel_list_bg_01.9.png".
Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-mdpi/quick_panel_music_bg.9.png". R
enaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-ldpi/status_bar_background.9.png".
Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_background.9.png".
Renaming it to *.png.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

c:\projects>

Same error repeats with apkmanager too.

And when i compile the decompiled files of that without any editing, i get this:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\VIKRAM>cd c:\projects

c:\projects>apktool b twframework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
c:\projects\twframework-res\res\values\styles.xml:3: error: Error retrieving par
ent for item: No resource found that matches the given name '@*android:style/Wid
get'.
c:\projects\twframework-res\res\values\styles.xml:32: error: Error retrieving pa
rent for item: No resource found that matches the given name '@*android:style/Wi
dget'.
c:\projects\twframework-res\res\values\styles.xml:60: error: Error retrieving pa
rent for item: No resource found that matches the given name '@*android:style/Wi
dget'.
c:\projects\twframework-res\res\values\styles.xml:133: error: Error retrieving p
arent for item: No resource found that matches the given name '@*android:style/T
heme'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-vers
ion, 8, -F, C:\Users\VIKRAM\AppData\Local\Temp\APKTOOL7120380343651763835.tmp, -
x, -I, C:\Users\VIKRAM\apktool\framework\1.apk, -S, c:\projects\twframework-res\
res, -M, c:\projects\twframework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 8, --target-sdk-version, 8, -F, C:\Users\VIKRAM\AppData\Local\Temp\AP
KTOOL7120380343651763835.tmp, -x, -I, C:\Users\VIKRAM\apktool\framework\1.apk, -
S, c:\projects\twframework-res\res, -M, c:\projects\twframework-res\AndroidManif
est.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:253)
... 6 more

c:\projects>

Can someone tell me what's going wrong?