[Galaxy S6 General] edzamber:
Everytime i want to recompil systemUI i've got errors like theses

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5755: error: Public symbol style/Animation declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5758: error: Public symbol style/Animation.NavigationBarFadeIn declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5757: error: Public symbol style/Animation.RecentPanel declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5722: error: Public symbol style/Animation.RecentsActivity declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5718: error: Public symbol style/Animation.RecentsMultiWindowActivity declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5756: error: Public symbol style/Animation.ShirtPocketPanel declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5759: error: Public symbol style/Animation.StatusBar declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5753: error: Public symbol style/BaseBrightnessDialogContainer declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5770: error: Public symbol style/DualToneDarkTheme declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5769: error: Public symbol style/DualToneLightTheme declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5724: error: Public symbol style/HelpItemDescText declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5764: error: Public symbol style/QSBorderlessButton declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5778: error: Public symbol style/QSEditPanelStyle declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5779: error: Public symbol style/QSEditPanelSwitchStyle declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5723: error: Public symbol style/RecentsHelpOverlay declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5717: error: Public symbol style/RecentsMultiWindowStyle declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5716: error: Public symbol style/RecentsStyle declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5721: error: Public symbol style/RecentsTheme.NoWallpaper declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5720: error: Public symbol style/RecentsTheme.Wallpaper declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5766: error: Public symbol style/SearchPanelCircle declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5737: error: Public symbol style/TextAppearance declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5784: error: Public symbol style/TextAppearance.DataUsageView declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5765: error: Public symbol style/TextAppearance.Material.Notification.Parenthetical declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5738: error: Public symbol style/TextAppearance.QS declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5752: error: Public symbol style/TextAppearance.QS.BottomButton declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5749: error: Public symbol style/TextAppearance.QS.DataUsage declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5751: error: Public symbol style/TextAppearance.QS.DataUsage.Secondary declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5750: error: Public symbol style/TextAppearance.QS.DataUsage.Usage declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5744: error: Public symbol style/TextAppearance.QS.DetailButton declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5745: error: Public symbol style/TextAppearance.QS.DetailButton.White declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5746: error: Public symbol style/TextAppearance.QS.DetailEmpty declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5739: error: Public symbol style/TextAppearance.QS.DetailHeader declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5740: error: Public symbol style/TextAppearance.QS.DetailItemPrimary declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5741: error: Public symbol style/TextAppearance.QS.DetailItemSecondary declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5742: error: Public symbol style/TextAppearance.QS.Introduction declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5748: error: Public symbol style/TextAppearance.QS.SegmentedButton declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5747: error: Public symbol style/TextAppearance.QS.Subhead declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5743: error: Public symbol style/TextAppearance.QS.Warning declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5728: error: Public symbol style/TextAppearance.StatusBar.Clock declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5729: error: Public symbol style/TextAppearance.StatusBar.Expanded declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5732: error: Public symbol style/TextAppearance.StatusBar.Expanded.AboveDateTime declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5777: error: Public symbol style/TextAppearance.StatusBar.Expanded.CarrierLabel declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5734: error: Public symbol style/TextAppearance.StatusBar.Expanded.ChargingInfo declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5776: error: Public symbol style/TextAppearance.StatusBar.Expanded.ClearButton declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5730: error: Public symbol style/TextAppearance.StatusBar.Expanded.Clock declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5731: error: Public symbol style/TextAppearance.StatusBar.Expanded.Date declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5733: error: Public symbol style/TextAppearance.StatusBar.Expanded.EmergencyCallsOnly declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5735: error: Public symbol style/TextAppearance.StatusBar.Expanded.UserSwitcher declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5736: error: Public symbol style/TextAppearance.StatusBar.Expanded.UserSwitcher.UserName declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5725: error: Public symbol style/TextAppearance.StatusBar.HeadsUp declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5726: error: Public symbol style/TextAppearance.StatusBar.SystemPanel declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5727: error: Public symbol style/TextAppearance.StatusBar.TextButton declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5771: error: Public symbol style/TextAppearance.Volume declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5772: error: Public symbol style/TextAppearance.Volume.Header declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5774: error: Public symbol style/TextAppearance.Volume.ZenDetail declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5773: error: Public symbol style/TextAppearance.Volume.ZenSummary declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5768: error: Public symbol style/Theme.AlertDialogHost declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5700: error: Public symbol style/Theme.SViewCoverActivity declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5775: error: Public symbol style/VolumeButtons declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5714: error: Public symbol style/config_recents_activity_theme declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5712: error: Public symbol style/keyguard_button_style declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5783: error: Public symbol style/keyguard_carrier_bottom_text_style declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5709: error: Public symbol style/keyguard_clock_weather_text_shadow declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5707: error: Public symbol style/keyguard_presentation_theme declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5708: error: Public symbol style/keyguard_text_shadow declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5713: error: Public symbol style/keyguard_text_style_direction_lock declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5699: error: Public symbol style/sview_text_shadow declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5704: error: Public symbol style/widget_big_thin declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values\public.xml:5703: error: Public symbol style/widget_label declared here is not defined.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values-sw600dp\styles.xml:6: error: Error retrieving parent for item: No resource found that matches the given name '@style/BaseBrightnessDialogContainer'.

C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res\values-land\styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@style/BaseBrightnessDialogContainer'.

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [d:\Temp\brut_util_Jar_6405658674100170208.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, d:\Temp\APKTOOL67529028718542005.tmp, -0, arsc, -I, C:\Users\Sandrine\apktool\framework\1.apk, -S, C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res, -M, C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]

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

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

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

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

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: [d:\Temp\brut_util_Jar_6405658674100170208.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, d:\Temp\APKTOOL67529028718542005.tmp, -0, arsc, -I, C:\Users\Sandrine\apktool\framework\1.apk, -S, C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res, -M, C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:425)

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

... 5 more

Caused by: brut.common.BrutException: could not exec command: [d:\Temp\brut_util_Jar_6405658674100170208.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, d:\Temp\APKTOOL67529028718542005.tmp, -0, arsc, -I, C:\Users\Sandrine\apktool\framework\1.apk, -S, C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\res, -M, C:\TickleMyAndroidv13\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]

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

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)

... 6 more

----------------

But i make it working on 5.0.1 like this if it can help :

In status-bar.xml add this

<com.thanhfhuongf.networkspeedindicator.traffic.TrafficView android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="right|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" />

In values/id.xml add this at the end before </resources>

<item type="id" name="traffic">false</item>

In values/style add this at the end just before </resources>

<style name="TextAppearance.StatusBar.Traffic" parent="@style/TextAppearance.StatusBar.Clock">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff0099cb</item>
<item name="android:textAllCaps">false</item>
</style>

add this thanhfhuongf folder in smali/com :

Speed Meter Smali files