[XPERIA X10 General] egyptshun:
OK so I've made it this far with akila87's help but now I'm stuck building my decompiled apk. I'm trying to bring back the old 2.1 SE calculator but i don't know if I coded my xml files if they are good because they are not being recompiled or built again. heres the problem...

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Home>cd C:\apktool-install-windows-2.2_r01-3

C:\apktool-install-windows-2.2_r01-3>apktool b Calculator
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
(skipping index file 'C:\apktool-install-windows-2.2_r01-3\Calculator\res\dr
awable-hdpi\Thumbs.db')
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:5: error:
Error: No resource found that matches the given name: attr 'android:background'.

C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:6: error:
Error: No resource found that matches the given name: attr 'android:focusable'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:8: error:
Error: No resource found that matches the given name: attr 'android:layout_heigh
t'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:9: error:
Error: No resource found that matches the given name: attr 'android:layout_margi
n'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:10: error:
Error: No resource found that matches the given name: attr 'android:layout_marg
inLeft'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:11: error:
Error: No resource found that matches the given name: attr 'android:layout_weig
ht'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:7: error:
Error: No resource found that matches the given name: attr 'android:layout_width
'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:4: error:
Error: No resource found that matches the given name: attr 'android:textSize'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:14: error:
Error: No resource found that matches the given name: attr 'android:background'
.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:17: error:
Error: No resource found that matches the given name: attr 'android:textSize'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:22: error:
Error: No resource found that matches the given name: attr 'android:gravity'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:26: error:
Error: No resource found that matches the given name: attr 'android:layout_heig
ht'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:25: error:
Error: No resource found that matches the given name: attr 'android:layout_widt
h'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:27: error:
Error: No resource found that matches the given name: attr 'android:maxLines'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:23: error:
Error: No resource found that matches the given name: attr 'android:padding'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:28: error:
Error: No resource found that matches the given name: attr 'android:scrollHoriz
ontally'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:24: error:
Error: No resource found that matches the given name: attr 'android:scrollbars'
.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:21: error:
Error: No resource found that matches the given name: attr 'android:textColor'.

C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:20: error:
Error: No resource found that matches the given name: attr 'android:textSize'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:30: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/Theme'.
C:\apktool-install-windows-2.2_r01-3\Calculator\res\values\styles.xml:31: error:
Error: No resource found that matches the given name: attr 'android:windowBackg
round'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\DOCUME~1\Home\LOCALS~1\Temp\APKT
OOL2546885007159582906.tmp, -S, C:\apktool-install-windows-2.2_r01-3\Calculator\
res, -M, C:\apktool-install-windows-2.2_r01-3\Calculator\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\D
OCUME~1\Home\LOCALS~1\Temp\APKTOOL2546885007159582906.tmp, -S, C:\apktool-instal
l-windows-2.2_r01-3\Calculator\res, -M, C:\apktool-install-windows-2.2_r01-3\Cal
culator\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more

C:\apktool-install-windows-2.2_r01-3>_