[Android Software Development] firefds:
Problem recompiling ClockPackage.apk Samsung 4.2.1

Hey,

I have a problem recompiling ClockPackage.apk of the new 4.2.1 S3 leak.

I've installed both framework-res.apk and twfrarmework-res.apk

-----------------------------------------------------
[*] ClockPackage.apk
-----------------------------------------------------
Recompiling ClockPackage.apk folder...
I: Smaling...
I: Building resources...
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-hdpi\alarm_alert.xml:30: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-xhdpi\alarm_alert.xml:30: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-hdpi\alarm_alert.xml:30: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-xhdpi\alarm_alert.xml:30: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-hdpi\alarm_alert_snooze.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-xhdpi\alarm_alert_snooze.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-hdpi\alarm_alert_snooze.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-xhdpi\alarm_alert_snooze.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-hdpi\alarm_briefing_alert.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-hdpi\alarm_briefing_alert.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-xhdpi\alarm_briefing_alert.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-xhdpi\alarm_briefing_alert.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-hdpi\alarm_briefing_alert.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-hdpi\alarm_briefing_alert.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-xhdpi\alarm_briefing_alert.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-xhdpi\alarm_briefing_alert.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout\alarm_detail_actionbar.xml:4: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout\alarm_detail_actionbar.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout\alarm_detail_actionbar.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout\alarm_detail_actionbar.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout\alarm_detail_actionbar.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout\alarm_detail_actionbar.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout\alarm_detail_actionbar.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuTitle').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-hdpi\alarm_smart_alert.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-xhdpi\alarm_smart_alert.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-hdpi\alarm_smart_alert.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-xhdpi\alarm_smart_alert.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout\alarm_smart_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-hdpi\alarm_smart_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-xhdpi\alarm_smart_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-hdpi\alarm_smart_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout-sw359dp-land-xhdpi\alarm_smart_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout\mw_alarm_detail.xml:61: error: Error: No resource found that matches the given name (at 'style' with value '@style/AlarmSpinner').
C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res\layout\mw_alarm_detail.xml:119: error: Error: No resource found that matches the given name (at 'style' with value '@style/AlarmSpinner').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 14, --target-sdk-version, 17, -F, C:\Users\Shauli\AppData\Local\Temp\APKTOOL3436778456146685567.tmp, -0, arsc, -I, C:\Users\Shauli\apktool\framework\1.apk, -I, C:\Users\Shauli\apktool\framework\2.apk, -S, C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res, -M, C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 14, --target-sdk-version, 17, -F, C:\Users\Shauli\AppData\Local\Temp\APKTOOL3436778456146685567.tmp, -0, arsc, -I, C:\Users\Shauli\apktool\framework\1.apk, -I, C:\Users\Shauli\apktool\framework\2.apk, -S, C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res, -M, C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 14, --target-sdk-version, 17, -F, C:\Users\Shauli\AppData\Local\Temp\APKTOOL3436778456146685567.tmp, -0, arsc, -I, C:\Users\Shauli\apktool\framework\1.apk, -I, C:\Users\Shauli\apktool\framework\2.apk, -S, C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\res, -M, C:\Android\xdaAutoTool\_INPUT_APK\ClockPackage\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Done!

Download links for APKs:

https://www.dropbox.com/s/u2sv4hcriygdi28/ClockPackage.apk

https://www.dropbox.com/s/xmlc7ogls4yd2ok/framework-res.apk

https://www.dropbox.com/s/sn80q8mlsyw5pkw/twframework-res.apk

Thank you!