[Android Software Development] RK:
S4 GPe

I am trying to MOD SystemUI on S4 GPe. The apk and the framework are attached. I decompile SystemUI and recompile with no changes and get missing styles errors.

I tried:

1) adding the missing styles from the framework

2) Importing the entire styles.xml into the local styles.xml

Got the same error.

Any ideas?

Log:

--------------------------------------------------------------------------
|Mon 12/22/2014 -- 0:37:00.13|
--------------------------------------------------------------------------
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) Client VM (build 25.25-b02, mixed mode)
C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\res\values\styles.xml:35: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.

C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\res\values\styles.xml:36: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.

C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\res\values\styles.xml:41: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.

C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\res\values\styles.xml:51: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.

C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\res\values\styles.xml:151: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar.Ticker'.

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\RUSHIK~1\AppData\Local\Temp\brut_util_Jar_17176142584562512.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0-I9505GUEUDNL3, -F, C:\Users\RUSHIK~1\AppData\Local\Temp\APKTOOL3641954438359691534.tmp, -0, arsc, -I, C:\Users\User\apktool\framework\1.apk, -S, C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\res, -M, C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\RUSHIK~1\AppData\Local\Temp\brut_util_Jar_17176142584562512.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0-I9505GUEUDNL3, -F, C:\Users\RUSHIK~1\AppData\Local\Temp\APKTOOL3641954438359691534.tmp, -0, arsc, -I, C:\Users\User\apktool\framework\1.apk, -S, C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\res, -M, C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:488)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\RUSHIK~1\AppData\Local\Temp\brut_util_Jar_17176142584562512.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0-I9505GUEUDNL3, -F, C:\Users\RUSHIK~1\AppData\Local\Temp\APKTOOL3641954438359691534.tmp, -0, arsc, -I, C:\Users\User\apktool\framework\1.apk, -S, C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\res, -M, C:\Users\User\Documents\Android\ApkManagerV6.1\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
... 6 more