[Sony Ericsson XPERIA X10 Mini] oxu:
i want add the ISC rotation animation to my framework-res.apk this framework is from cm7 on stock kernel x10 min pro. I decompiling framework and add files to anim folder : screen_rotate_0_enter, screen_rotate_0_exit, screen_rotate_180_enter, screen_rotate_180_exit,screen_rotate_minus_90_enter, screen_rotate_minus_90_exit, screen_rotate_plus_90_enter, screen_rotate_plus_90_exit and changle integres.xml in values but when i try compil framewok i have error. Could someone help me?

C:\>cd android/apktool

C:\android\apktool>apktool b frame framework2-res.apk

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

C:\android\apktool\frame\res\anim\screen_rotate_minus_90_exit.xml:4: error: Erro

r: Fraction types not allowed (at 'fromXScale' with value '100.0%').

C:\android\apktool\frame\res\anim\screen_rotate_minus_90_exit.xml:4: error: Erro

r: Fraction types not allowed (at 'toXScale' with value '100.0%p').

C:\android\apktool\frame\res\anim\screen_rotate_minus_90_exit.xml:4: error: Erro

r: Fraction types not allowed (at 'fromYScale' with value '100.0%').

C:\android\apktool\frame\res\anim\screen_rotate_minus_90_exit.xml:4: error: Erro

r: Fraction types not allowed (at 'toYScale' with value '100.0%p').

C:\android\apktool\frame\res\anim\screen_rotate_plus_90_exit.xml:4: error: Error

: Fraction types not allowed (at 'fromXScale' with value '100.0%').

C:\android\apktool\frame\res\anim\screen_rotate_plus_90_exit.xml:4: error: Error

: Fraction types not allowed (at 'toXScale' with value '100.0%p').

C:\android\apktool\frame\res\anim\screen_rotate_plus_90_exit.xml:4: error: Error

: Fraction types not allowed (at 'fromYScale' with value '100.0%').

C:\android\apktool\frame\res\anim\screen_rotate_plus_90_exit.xml:4: error: Error

: Fraction types not allowed (at 'toYScale' with value '100.0%p').

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl

ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-

sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\Luk\AppData\Local\Temp\A

PKTOOL6261314448585281325.tmp, -x, -S, C:\android\apktool\frame\res, -M, C:\andr

oid\apktool\frame\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:357)

at brut.androlib.Androlib.buildResources(Androlib.java:282)

at brut.androlib.Androlib.build(Androlib.java:205)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:218)

at brut.apktool.Main.main(Main.java:74)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not

exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:

\Users\Luk\AppData\Local\Temp\APKTOOL6261314448585281325.tmp, -x, -S, C:\android

\apktool\frame\res, -M, C:\android\apktool\frame\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:349)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:335)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd

k-version, 10, --target-sdk-version, 10, -F, C:\Users\Luk\AppData\Local\Temp\APK

TOOL6261314448585281325.tmp, -x, -S, C:\android\apktool\frame\res, -M, C:\androi

d\apktool\frame\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:347)

... 6 more

C:\android\apktool>