[XPERIA X10 Q&A, Help & Troubleshooting] donjamal:
hi Everyone,

i'm trying to modify the phonebook.apk from my X10 Wolf's ROM (so it's stock based) and i can decompile it but i can't compile it.

here's the log:

--------------------------------------------------------------------------
|2012.02.05. -- 12:31:28,78|
--------------------------------------------------------------------------
--2012-02-05 12:31:28-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'

0K 100% 3,02M=0s

2012-02-05 12:31:29 (3,02 MB/s) - `apkver.txt' saved [152/152]

A k”vetkez‹ alk”nyvt*r vagy a f*jl m*r l‚tezik: projects.
A k”vetkez‹ alk”nyvt*r vagy a f*jl m*r l‚tezik: place-apk-here-for-modding.
A k”vetkez‹ alk”nyvt*r vagy a f*jl m*r l‚tezik: place-ogg-here.
A k”vetkez‹ alk”nyvt*r vagy a f*jl m*r l‚tezik: place-apk-here-to-batch-optimize.
A k”vetkez‹ alk”nyvt*r vagy a f*jl m*r l‚tezik: place-apk-here-for-signing.
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)
A megadott nevet (""platform-tools"\adb.exe") a rendszer nem ismeri fel bels‹ vagy kls‹
parancsk‚nt, futtathat˘ programk‚nt vagy k”tegf*jlk‚nt.
A rendszer nem tal*lja a megadott el‚r‚si utat.
A rendszer nem tal*lja a megadott el‚r‚si utat.
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\BrothaHood\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\BrothaHood\apktool\framework\2.apk
I: Loaded.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
f:\Android\apk multitool\projects\Phonebook.apk\res\values\styles.xml:58: error: Error retrieving parent for item: No resource found that matches the given name 'Layout'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\BROTHA~1\AppData\Local\Temp\APKTOOL9208262352921089007.tmp, -I, C:\Users\BrothaHood\apktool\framework\1.apk, -I, C:\Users\BrothaHood\apktool\framework\2.apk, -S, f:\Android\apk multitool\projects\Phonebook.apk\res, -M, f:\Android\apk multitool\projects\Phonebook.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:\Users\BROTHA~1\AppData\Local\Temp\APKTOOL9208262352921089007.tmp, -I, C:\Users\BrothaHood\apktool\framework\1.apk, -I, C:\Users\BrothaHood\apktool\framework\2.apk, -S, f:\Android\apk multitool\projects\Phonebook.apk\res, -M, f:\Android\apk multitool\projects\Phonebook.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
f:\Android\apk multitool\projects\Phonebook.apk\res\values\styles.xml:58: error: Error retrieving parent for item: No resource found that matches the given name 'Layout'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\BROTHA~1\AppData\Local\Temp\APKTOOL7224678319350260061.tmp, -I, C:\Users\BrothaHood\apktool\framework\1.apk, -I, C:\Users\BrothaHood\apktool\framework\2.apk, -S, f:\Android\apk multitool\projects\Phonebook.apk\res, -M, f:\Android\apk multitool\projects\Phonebook.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:\Users\BROTHA~1\AppData\Local\Temp\APKTOOL7224678319350260061.tmp, -I, C:\Users\BrothaHood\apktool\framework\1.apk, -I, C:\Users\BrothaHood\apktool\framework\2.apk, -S, f:\Android\apk multitool\projects\Phonebook.apk\res, -M, f:\Android\apk multitool\projects\Phonebook.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more

i've installed both framework-res.apk and semcgenericuxpres.apk as frameworks with apktool. could someone point me to the right direction?

thanks a lot!