[Android Software Development] Zackptg5:
I'm trying to modify LGSettings.apk (lg g3) and I got errors while decomiling but it still worked. Recompiling doesn't appear to work at all:

D:\Android\sdk\platform-tools>adb pull /system/priv-app/LGSettings.apk
4834 KB/s (88395542 bytes in 17.855s)

D:\Android\sdk\platform-tools>adb pull /system/framework/framework-res.apk
4538 KB/s (18459278 bytes in 3.972s)

D:\Android\sdk\platform-tools>java -jar apktool.jar if framework-res.apk
I: Framework installed to: C:\Users\Zack\apktool\framework\1.apk

D:\Android\sdk\platform-tools>java -jar apktool.jar d -s LGSettings.apk
I: Using Apktool 2.0.0-RC4 on LGSettings.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Zack\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01b0
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01b0
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01c5
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01c5
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cf
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cf
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cf
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cf
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cf
I: Regular manifest package...
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: xml-en-rUS/timezones.xml
S: Could not decode file, replacing by FALSE value: drawable-xxhdpi/homescreen_b
attery_charging_ani_04.png
S: Could not decode file, replacing by FALSE value: drawable-xxhdpi/homescreen_b
attery_charging_ani_01.png
W: Could not decode attr value, using undecoded value instead: ns=android, name=
button, value=0x02020042
S: Could not decode file, replacing by FALSE value: xml-en-rIE/timezones.xml
S: Could not decode file, replacing by FALSE value: drawable-xxhdpi/homescreen_b
attery_charging_ani_07.png
W: Could not decode attr value, using undecoded value instead: ns=android, name=
button, value=0x02020042
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_marginStart, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_marginEnd, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
minHeight, value=0x020c002f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x02080052
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingStart, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingEnd, value=0x020c0027
S: Could not decode file, replacing by FALSE value: xml-fr-rCA/timezones.xml
W: Could not decode attr value, using undecoded value instead: ns=android, name=
button, value=0x02020042
W: Could not decode attr value, using undecoded value instead: ns=android, name=
button, value=0x02020042
W: Could not decode attr value, using undecoded value instead: ns=android, name=
button, value=0x02020042
S: Could not decode file, replacing by FALSE value: drawable-xxhdpi/homescreen_b
attery_charging_ani_06.png
S: Could not decode file, replacing by FALSE value: xml-en-rAU/timezones.xml
S: Could not decode file, replacing by FALSE value: drawable-xxhdpi/homescreen_b
attery_charging_ani_00.png
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingStart, value=0x020c0027
S: Could not decode file, replacing by FALSE value: drawable-pt-rBR-xxhdpi/help_
split_splitbar.png
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_marginStart, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_marginEnd, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingStart, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingEnd, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingStart, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingStart, value=0x020c0027
S: Could not decode file, replacing by FALSE value: drawable-pt-rBR-land-xxhdpi/
help_split_splitbar.png
S: Could not decode file, replacing by FALSE value: drawable-xxhdpi/homescreen_b
attery_charging_ani_03.png
S: Could not decode file, replacing by FALSE value: xml-zh-rHK/timezones.xml
S: Could not decode file, replacing by FALSE value: drawable-xxhdpi/homescreen_b
attery_charging_ani_05.png
S: Could not decode file, replacing by FALSE value: xml-zh-rCN/timezones.xml
S: Could not decode file, replacing by FALSE value: drawable-xxhdpi/homescreen_b
attery_charging_ani_02.png
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingStart, value=0x020c0027
S: Could not decode file, replacing by FALSE value: drawable-pt-rBR-land-xxhdpi/
help_split_appdrawer.png
W: Could not decode attr value, using undecoded value instead: ns=android, name=
button, value=0x02020042
S: Could not decode file, replacing by FALSE value: xml-pt-rBR/timezones.xml
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x02020005
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingStart, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_marginStart, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_marginEnd, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_height, value=0x020c0031
S: Could not decode file, replacing by FALSE value: xml-es-rUS/timezones.xml
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingStart, value=0x020c0027
S: Could not decode file, replacing by FALSE value: drawable-pt-rBR-xxhdpi/help_
split_appdrawer.png
W: Could not decode attr value, using undecoded value instead: ns=android, name=
button, value=0x02020042
W: Could not decode attr value, using undecoded value instead: ns=android, name=
button, value=0x02020042
W: Could not decode attr value, using undecoded value instead: ns=android, name=
button, value=0x02020042
S: Could not decode file, replacing by FALSE value: xml-es-rES/timezones.xml
S: Could not decode file, replacing by FALSE value: xml-zh-rTW/timezones.xml
W: Could not decode attr value, using undecoded value instead: ns=android, name=
paddingStart, value=0x020c0027
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x02020522
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x02020525
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x02020523
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x02020525
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x02020524
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x02020446
S: Could not decode file, replacing by FALSE value: xml-en-rCA/timezones.xml
I: Decoding values */* XMLs...
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.

D:\Android\sdk\platform-tools>java -jar apktool.jar b LGSettings
I: Using Apktool 2.0.0-RC4
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:250)
at brut.androlib.Androlib.build(Androlib.java:262)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:245)
... 4 more