[Android General] shankufx4y:
Error Cm 14.1 Settings.apk

After first edits in settings, i got this.....

I: Using Apktool 2.2.1

I: Checking whether sources has changed...

I: Checking whether resources has changed...

I: Building resources...

W: /Users/channeld/Desktop/apktool/Settings/res/values/strings.xml:908: error: Resource entry cancel is already defined.

W: /Users/channeld/Desktop/apktool/Settings/res/values/strings.xml:33: Originally defined here.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1662: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Preference.Material.DialogPreference.EditTextPreference'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1670: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferencePanel'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1678: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceHeaderList'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1689: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceFragmentList'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1696: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceHeaderPanel'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1697: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceHeaderList'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1703: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/PreferenceFragment.Material'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1789: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.Material.Activity'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1842: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Preference.Material.DialogPreference'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1933: error: Error: No resource found that matches the given name: attr 'android:errorColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1931: error: Error: No resource found that matches the given name: attr 'android:preferencePanelStyle'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1932: error: Error: No resource found that matches the given name: attr 'android:regularColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1934: error: Error: No resource found that matches the given name: attr 'android:successColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1953: error: Error: No resource found that matches the given name: attr 'android:errorColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1951: error: Error: No resource found that matches the given name: attr 'android:preferencePanelStyle'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1952: error: Error: No resource found that matches the given name: attr 'android:regularColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:1954: error: Error: No resource found that matches the given name: attr 'android:successColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2015: error: Error: No resource found that matches the given name: attr 'android:errorColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2012: error: Error: No resource found that matches the given name: attr 'android:preferenceFragmentListStyle'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2013: error: Error: No resource found that matches the given name: attr 'android:preferenceFragmentPaddingSide'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2010: error: Error: No resource found that matches the given name: attr 'android:preferenceHeaderPanelStyle'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2011: error: Error: No resource found that matches the given name: attr 'android:preferenceListStyle'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2009: error: Error: No resource found that matches the given name: attr 'android:preferencePanelStyle'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2014: error: Error: No resource found that matches the given name: attr 'android:regularColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2016: error: Error: No resource found that matches the given name: attr 'android:successColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2049: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/ThemeOverlay.DeviceDefault.Dark.ActionBar.Accent'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2059: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.DeviceDefault.Settings.DialogWhenLarge'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2069: error: Error: No resource found that matches the given name: attr 'android:errorColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2068: error: Error: No resource found that matches the given name: attr 'android:regularColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2070: error: Error: No resource found that matches the given name: attr 'android:successColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2081: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.DeviceDefault.Settings.Dialog.Alert'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2100: error: Error: No resource found that matches the given name: attr 'android:errorColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2099: error: Error: No resource found that matches the given name: attr 'android:regularColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2101: error: Error: No resource found that matches the given name: attr 'android:successColor'.

W:

W: /Users/channeld/Desktop/apktool/Settings/res/values/styles.xml:2107: error: Error: No resource found that matches the given name: attr 'android:regularColor'.

W:

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/yy/ydn1sd7s3qj0lymry8wn7h100000gn/T/brut_util_Jar_6915657144639388631.tmp, p, --forced-package-id, 127, --min-sdk-version, 25, --target-sdk-version, 25, --version-code, 25, --version-name, 7.1, -F, /var/folders/yy/ydn1sd7s3qj0lymry8wn7h100000gn/T/APKTOOL6530227837275813874.tmp, -0, arsc, -0, arsc, -I, /Users/channeld/Library/apktool/framework/1.apk, -I, /Users/channeld/Library/apktool/framework/63.apk, -S, /Users/channeld/Desktop/apktool/Settings/res, -M, /Users/channeld/Desktop/apktool/Settings/AndroidManifest.xml]

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

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

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

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

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): [/var/folders/yy/ydn1sd7s3qj0lymry8wn7h100000gn/T/brut_util_Jar_6915657144639388631.tmp, p, --forced-package-id, 127, --min-sdk-version, 25, --target-sdk-version, 25, --version-code, 25, --version-name, 7.1, -F, /var/folders/yy/ydn1sd7s3qj0lymry8wn7h100000gn/T/APKTOOL6530227837275813874.tmp, -0, arsc, -0, arsc, -I, /Users/channeld/Library/apktool/framework/1.apk, -I, /Users/channeld/Library/apktool/framework/63.apk, -S, /Users/channeld/Desktop/apktool/Settings/res, -M, /Users/channeld/Desktop/apktool/Settings/AndroidManifest.xml]

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

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

... 5 more

Caused by: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/yy/ydn1sd7s3qj0lymry8wn7h100000gn/T/brut_util_Jar_6915657144639388631.tmp, p, --forced-package-id, 127, --min-sdk-version, 25, --target-sdk-version, 25, --version-code, 25, --version-name, 7.1, -F, /var/folders/yy/ydn1sd7s3qj0lymry8wn7h100000gn/T/APKTOOL6530227837275813874.tmp, -0, arsc, -0, arsc, -I, /Users/channeld/Library/apktool/framework/1.apk, -I, /Users/channeld/Library/apktool/framework/63.apk, -S, /Users/channeld/Desktop/apktool/Settings/res, -M, /Users/channeld/Desktop/apktool/Settings/AndroidManifest.xml]

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

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

... 6 more

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

traffic/SecSettings/smali/net/margaritov/preference/colorpicker Folder cant find in Orginal Settings

AND

traffic/SecSettings/smali/com/android/settings/temasek Folder Cant Find Also

traffic/SecSettings/res/drawable-xxhdpi Istead of res/drawable-xxhdpi-v4 got.......

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

Please help me to Solve this problem....