[Android Software Development] s5s2:
Hey guys, I have a problem in build "secsettings2.apk"

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools>apktool d SecSettings2.apk
I: Using Apktool 2.2.2 on SecSettings2.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\DC\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools>apktool b SecSettings2
I: Using Apktool 2.2.2
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3: err
or: Error retrieving parent for item: No resource found that matches the given name '@android:style/
Preference.DeviceDefault.SwitchPreference'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:1827:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/Preference.DeviceDefault.SwitchPreference'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:1830:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/Preference.Material.DialogPreference.YesNoPreference'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:1839:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/PreferencePanel'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:1847:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/PreferenceHeaderList'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:1858:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/PreferenceFragmentList'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:1865:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/PreferenceHeaderPanel'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:1866:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/PreferenceHeaderList'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:1872:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/PreferenceFragment'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:2237:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/Widget.Material.Light.QuickContactBadgeSmall.WindowMedium'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:2271:
error: Error: No resource found that matches the given name: attr 'android:closeItemLayout'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:2269:
error: Error: No resource found that matches the given name: attr 'android:errorColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:2270:
error: Error: No resource found that matches the given name: attr 'android:successColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values-sw600dp-v13\style
s.xml:41: error: Error: No resource found that matches the given name: attr 'android:closeItemLayout
'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values-sw600dp-v13\style
s.xml:39: error: Error: No resource found that matches the given name: attr 'android:errorColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values-sw600dp-v13\style
s.xml:40: error: Error: No resource found that matches the given name: attr 'android:successColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:2350:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/Preference.Material.BasePreferenceScreen'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:2384:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/PreferencePanel'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3145:
error: Error: No resource found that matches the given name: attr 'android:closeItemLayout'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3143:
error: Error: No resource found that matches the given name: attr 'android:errorColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3142:
error: Error: No resource found that matches the given name: attr 'android:preferenceHeaderPanelStyl
e'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3144:
error: Error: No resource found that matches the given name: attr 'android:successColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3168:
error: Error: No resource found that matches the given name: attr 'android:closeItemLayout'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3166:
error: Error: No resource found that matches the given name: attr 'android:errorColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3165:
error: Error: No resource found that matches the given name: attr 'android:preferenceHeaderPanelStyl
e'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3167:
error: Error: No resource found that matches the given name: attr 'android:successColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3189:
error: Error: No resource found that matches the given name: attr 'android:preferenceHeaderPanelStyl
e'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3209:
error: Error: No resource found that matches the given name: attr 'android:preferenceHeaderPanelStyl
e'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3302:
error: Error: No resource found that matches the given name: attr 'android:closeItemLayout'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3300:
error: Error: No resource found that matches the given name: attr 'android:errorColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3297:
error: Error: No resource found that matches the given name: attr 'android:preferenceFragmentListSty
le'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3298:
error: Error: No resource found that matches the given name: attr 'android:preferenceFragmentPadding
Side'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3295:
error: Error: No resource found that matches the given name: attr 'android:preferenceHeaderPanelStyl
e'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3296:
error: Error: No resource found that matches the given name: attr 'android:preferenceListStyle'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3299:
error: Error: No resource found that matches the given name: attr 'android:seekBarPreferenceStyle'.
W:
Exception in thread "main" W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\r
es\values\styles.xml:3301: error: Error: No resource found that matches the given name: attr 'androi
d:successColor'.
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could n
ot exec (exit code = 1): [C:\Users\DC\AppData\Local\Temp\brut_util_Jar_3385090792253643913.tmp, p, -
-forced-package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --vers
ion-name, 7.0, --no-version-vectors, -F, C:\Users\DC\AppData\Local\Temp\APKTOOL902138523814531927.tm
p, -0, arsc, -0, zip, -0, qmg, -0, pio, -0, qio, -0, res/drawable-ldrtl-xxxhdpi-v4/msg_bubble_incomi
ng.9.qmg, -0, webp, -0, res/drawable-xxhdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.qmg, -0, res/drawa
ble-xxhdpi-v4/abc_popup_background_mtrl_mult.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_left_activ
ated.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_left_default.9.qmg, -0, res/drawable-xxhdpi-v4/dat
a_sweep_limit_activated.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_right_activated.9.qmg, -0, res/
drawable-xxhdpi-v4/data_sweep_right_default.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_warning_act
ivated.9.qmg, -0, res/drawable-xxhdpi-v4/messages_bubble_receivedmessage_01.9.qmg, -0, res/drawable-
xxhdpi-v4/messages_bubble_sentmessage_01.9.qmg, -0, res/drawable-xxhdpi-v4/tw_no_item_popup_bg_holo_
dark.9.qmg, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.qmg, -0, res/drawable-xxxh
dpi-v4/abc_btn_switch_to_on_mtrl_00012.9.qmg, -0, res/drawable-xxxhdpi-v4/abc_switch_track_mtrl_alph
a.9.qmg, -0, res/drawable-xxxhdpi-v4/help_popup_picker_bg_w_01.9.qmg, -0, res/drawable-xxxhdpi-v4/ms
g_bubble_outgoing.9.qmg, -0, res/drawable-xxxhdpi-v4/step_bubble_02.9.qmg, -0, res/drawable-xxxhdpi-
v4/step_bubble_sample.9.qmg, -0, res/drawable/messages_bubble_receivedmessage_01.9.qmg, -0, res/draw
able/messages_bubble_sentmessage_01.9.qmg, -0, res/drawable/stat_notify_performancebooster.png.qio,
-0, res/drawable/tw_no_item_popup_bg_holo_dark.9.qmg, -0, arsc, -I, C:\Users\DC\AppData\Local\apktoo
l\framework\1.apk, -S, C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res, -M,
C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:477)
at brut.androlib.Androlib.buildResources(Androlib.java:411)
at brut.androlib.Androlib.build(Androlib.java:310)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1
): [C:\Users\DC\AppData\Local\Temp\brut_util_Jar_3385090792253643913.tmp, p, --forced-package-id, 12
7, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-ve
rsion-vectors, -F, C:\Users\DC\AppData\Local\Temp\APKTOOL902138523814531927.tmp, -0, arsc, -0, zip,
-0, qmg, -0, pio, -0, qio, -0, res/drawable-ldrtl-xxxhdpi-v4/msg_bubble_incoming.9.qmg, -0, webp, -0
, res/drawable-xxhdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.qmg, -0, res/drawable-xxhdpi-v4/abc_popu
p_background_mtrl_mult.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_left_activated.9.qmg, -0, res/dr
awable-xxhdpi-v4/data_sweep_left_default.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_limit_activate
d.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_right_activated.9.qmg, -0, res/drawable-xxhdpi-v4/dat
a_sweep_right_default.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_warning_activated.9.qmg, -0, res/
drawable-xxhdpi-v4/messages_bubble_receivedmessage_01.9.qmg, -0, res/drawable-xxhdpi-v4/messages_bub
ble_sentmessage_01.9.qmg, -0, res/drawable-xxhdpi-v4/tw_no_item_popup_bg_holo_dark.9.qmg, -0, res/dr
awable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.qmg, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_
to_on_mtrl_00012.9.qmg, -0, res/drawable-xxxhdpi-v4/abc_switch_track_mtrl_alpha.9.qmg, -0, res/drawa
ble-xxxhdpi-v4/help_popup_picker_bg_w_01.9.qmg, -0, res/drawable-xxxhdpi-v4/msg_bubble_outgoing.9.qm
g, -0, res/drawable-xxxhdpi-v4/step_bubble_02.9.qmg, -0, res/drawable-xxxhdpi-v4/step_bubble_sample.
9.qmg, -0, res/drawable/messages_bubble_receivedmessage_01.9.qmg, -0, res/drawable/messages_bubble_s
entmessage_01.9.qmg, -0, res/drawable/stat_notify_performancebooster.png.qio, -0, res/drawable/tw_no
_item_popup_bg_holo_dark.9.qmg, -0, arsc, -I, C:\Users\DC\AppData\Local\apktool\framework\1.apk, -S,
C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res, -M, C:\Users\DC\Desktop\a
pk tool editor aafaq4tech\ApkTools\SecSettings2\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:440)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:463)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\DC\AppData\Local\Tem
p\brut_util_Jar_3385090792253643913.tmp, p, --forced-package-id, 127, --min-sdk-version, 24, --targe
t-sdk-version, 24, --version-code, 24, --version-name, 7.0, --no-version-vectors, -F, C:\Users\DC\Ap
pData\Local\Temp\APKTOOL902138523814531927.tmp, -0, arsc, -0, zip, -0, qmg, -0, pio, -0, qio, -0, re
s/drawable-ldrtl-xxxhdpi-v4/msg_bubble_incoming.9.qmg, -0, webp, -0, res/drawable-xxhdpi-v4/abc_menu
_hardkey_panel_mtrl_mult.9.qmg, -0, res/drawable-xxhdpi-v4/abc_popup_background_mtrl_mult.9.qmg, -0,
res/drawable-xxhdpi-v4/data_sweep_left_activated.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_left_
default.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_limit_activated.9.qmg, -0, res/drawable-xxhdpi-
v4/data_sweep_right_activated.9.qmg, -0, res/drawable-xxhdpi-v4/data_sweep_right_default.9.qmg, -0,
res/drawable-xxhdpi-v4/data_sweep_warning_activated.9.qmg, -0, res/drawable-xxhdpi-v4/messages_bubbl
e_receivedmessage_01.9.qmg, -0, res/drawable-xxhdpi-v4/messages_bubble_sentmessage_01.9.qmg, -0, res
/drawable-xxhdpi-v4/tw_no_item_popup_bg_holo_dark.9.qmg, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_
to_on_mtrl_00001.9.qmg, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.qmg, -0, res/d
rawable-xxxhdpi-v4/abc_switch_track_mtrl_alpha.9.qmg, -0, res/drawable-xxxhdpi-v4/help_popup_picker_
bg_w_01.9.qmg, -0, res/drawable-xxxhdpi-v4/msg_bubble_outgoing.9.qmg, -0, res/drawable-xxxhdpi-v4/st
ep_bubble_02.9.qmg, -0, res/drawable-xxxhdpi-v4/step_bubble_sample.9.qmg, -0, res/drawable/messages_
bubble_receivedmessage_01.9.qmg, -0, res/drawable/messages_bubble_sentmessage_01.9.qmg, -0, res/draw
able/stat_notify_performancebooster.png.qio, -0, res/drawable/tw_no_item_popup_bg_holo_dark.9.qmg, -
0, arsc, -I, C:\Users\DC\AppData\Local\apktool\framework\1.apk, -S, C:\Users\DC\Desktop\apk tool edi
tor aafaq4tech\ApkTools\SecSettings2\res, -M, C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTool
s\SecSettings2\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:434)
... 6 more
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3404:
error: Error: No resource found that matches the given name: attr 'android:closeItemLayout'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3402:
error: Error: No resource found that matches the given name: attr 'android:errorColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3403:
error: Error: No resource found that matches the given name: attr 'android:successColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3458:
error: Error: No resource found that matches the given name: attr 'android:closeItemLayout'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3456:
error: Error: No resource found that matches the given name: attr 'android:errorColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3457:
error: Error: No resource found that matches the given name: attr 'android:successColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3464:
error: Error: No resource found that matches the given name: attr 'android:errorColor'.
W:
W: C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools\SecSettings2\res\values\styles.xml:3466:
error: Error retrieving parent for item: No resource found that matches the given name '@android:sty
le/Theme.Material.Dialog.NoActionBar.FixedSize'.
W:

C:\Users\DC\Desktop\apk tool editor aafaq4tech\ApkTools>

I am tried apktool d, apktool b without changing anything but the problem has not been resolved