[G1 Android Development] scheichuwe:
Hey.

I'm trying to de-/compile Settings.apk. Decompiling works, no errors.

But when I try to compile (without any changes made) I get these errors

^C--------------------------------------------------------------------------
|31.03.2011 -- 22:39:10,75|
--------------------------------------------------------------------------
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/signedSettings.apk konnte nicht gefunden werden
D:\Downloads\apk_manager_4.9\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSettings.apk konnte nicht gefunden werden
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Decoding resources...
I: Loading resource table from file: C:\Users\Schw\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\Schw\apktool\framework\2.apk
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
W/ResourceType( 1604): Unable to get buffer of resource asset file
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:7: error: Error: No resource found that matches the given name: attr 'android:layout_height'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:6: error: Error: No resource found that matches the given name: attr 'android:layout_width'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:5: error: Error: No resource found that matches the given name: attr 'android:paddingRight'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:4: error: Error: No resource found that matches the given name: attr 'android:textAppearance'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:12: error: Error: No resource found that matches the given name: attr 'android:layout_height'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:11: error: Error: No resource found that matches the given name: attr 'android:layout_width'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:10: error: Error: No resource found that matches the given name: attr 'android:textAppearance'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:17: error: Error: No resource found that matches the given name: attr 'android:layout_height'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:16: error: Error: No resource found that matches the given name: attr 'android:layout_width'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:15: error: Error: No resource found that matches the given name: attr 'android:textAppearance'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:26: error: Error: No resource found that matches the given name: attr 'android:layout_height'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:25: error: Error: No resource found that matches the given name: attr 'android:layout_width'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:20: error: Error: No resource found that matches the given name: attr 'android:orientation'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:24: error: Error: No resource found that matches the given name: attr 'android:paddingBottom'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:21: error: Error: No resource found that matches the given name: attr 'android:paddingLeft'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:23: error: Error: No resource found that matches the given name: attr 'android:paddingRight'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:22: error: Error: No resource found that matches the given name: attr 'android:paddingTop'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:31: error: Error: No resource found that matches the given name: attr 'android:layout_height'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:30: error: Error: No resource found that matches the given name: attr 'android:layout_width'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:29: error: Error: No resource found that matches the given name: attr 'android:orientation'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:35: error: Error: No resource found that matches the given name: attr 'android:layout_height'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:34: error: Error: No resource found that matches the given name: attr 'android:layout_width'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:37: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:39: error: Error: No resource found that matches the given name: attr 'android:textSize'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:40: error: Error: No resource found that matches the given name: attr 'android:textStyle'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:43: error: Error: No resource found that matches the given name: attr 'android:textSize'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:44: error: Error: No resource found that matches the given name: attr 'android:textStyle'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:47: error: Error: No resource found that matches the given name: attr 'android:textSize'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:48: error: Error: No resource found that matches the given name: attr 'android:textStyle'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:50: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.NoTitleBar'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:51: error: Error: No resource found that matches the given name: attr 'android:windowContentOverlay'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:53: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Dialog'.
D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res\values\styles.xml:54: error: Error: No resource found that matches the given name: attr 'android:windowBackground'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Schw\AppData\Local\Temp\APKTOOL5589987349483870174.tmp, -I, C:\Users\Schw\apktool\framework\1.apk, -I, C:\Users\Schw\apktool\framework\2.apk, -S, D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res, -M, D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\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:\Users\Schw\AppData\Local\Temp\APKTOOL5589987349483870174.tmp, -I, C:\Users\Schw\apktool\framework\1.apk, -I, C:\Users\Schw\apktool\framework\2.apk, -S, D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\res, -M, D:\Downloads\apk_manager_4.9\other\..\projects\Settings.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more

Any ideas?

Thanks.

Dont't know if it's necessary:

Apk Manager 4.9, Settings.apk is taken from 2.3.3 (Galaxy S), decompiled using #10 (with twframework-res.apk).