[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Sudanminipro:
I've been trying to modify some files from xperia go to try and make it work in XMP. I'm not very new to de/re-compiling apks. I use apk-multitool (the latest version) combined with the latest apktool.jar (i think it's 1.5.0) to compile files. I've tried with several other apktool versions. But the problem is, I always encounter errors while re-compiling XGo files, even if I don't modify anything, just decompile and try to recompile. I've installed framework-res and semcgenericuxpres from XGo.

These are examples of the kind of errors that I usually encounter while re-compiling

1.

I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\res\layout\key_secondary_candidates_popup.xml:2: error: Error: Integer types not allowed (at 'directionality' with value '0').
E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\res\layout\key_secondary_candidates_popup.xml:5: error: Error: Integer types not allowed (at 'directionality' with value '0').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Sudan\AppData\Local\Temp\APKTOOL1787733357918049063.tmp, -I, C:\Users\Sudan\apktool\framework\1.apk, -S, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\res, -M, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:251)
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:185)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Sudan\AppData\Local\Temp\APKTOOL1787733357918049063.tmp, -I, C:\Users\Sudan\apktool\framework\1.apk, -S, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\res, -M, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\textinput-tng_XGo.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:249)
... 6 more

2.

I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\InfiniteView.apk\res\values\styles.xml:83: error: Error: Boolean types not allowed (at 'android:searchWidgetCorpusItemBackground' with value 'true').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Sudan\AppData\Local\Temp\APKTOOL459030688649118808.tmp, -I, C:\Users\Sudan\apktool\framework\1.apk, -I, C:\Users\Sudan\apktool\framework\2.apk, -S, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\InfiniteView.apk\res, -M, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\InfiniteView.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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, -F, C:\Users\Sudan\AppData\Local\Temp\APKTOOL459030688649118808.tmp, -I, C:\Users\Sudan\apktool\framework\1.apk, -I, C:\Users\Sudan\apktool\framework\2.apk, -S, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\InfiniteView.apk\res, -M, E:\mini pro\Tools\APK-Multi-Tool\other\..\projects\InfiniteView.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
... 6 more

Where am I going wrong? Any Help will be appreciated..:)