[IDEs, Libraries, & Programming Tools] danny19901:
Same errors i have latest jdk and on windows 10 :(

I: Using Apktool 2.0.0-Beta9 on signed-Darkred.apk

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:604)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)

at brut.androlib.Androlib.getResTable(Androlib.java:49)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:93)

at brut.apktool.Main.cmdDecode(Main.java:169)

at brut.apktool.Main.main(Main.java:85)

Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000

at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)

at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:43)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:95)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)

... 7 more

This is what i get when trying to decompile systemUI

I: Using Apktool 2.0.0-Beta9 on SystemUI.apk

I: Loading resource table...

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\Ryan\apktool\framework\1.apk

W: Could not decode attr value, using undecoded value instead: ns=androidprv, name=primaryUserOnly, value=0xffffffff

W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x01040712

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103032a

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030346

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103033a

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103033a

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103033a

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103033a

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103033a

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x0103033a

I: Regular manifest package...

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=android, name=hoverPopupType, value=0x00000001

W: Could not decode attr value, using undecoded value instead: ns=android, name=hoverPopupType, value=0x00000001

W: Could not decode attr value, using undecoded value instead: ns=android, name=hoverPopupType, value=0x00000001

W: Could not decode attr value, using undecoded value instead: ns=android, name=button, value=0x01080693

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080b5a

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRingDrawable, value=0x7f020069

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x01080480

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x01050022

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=targetDrawables, value=0x7f070000

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRadius, value=0x7f0d003d

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=vibrationDuration, value=0x7f0c0002

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0d003b

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000000

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRingDrawable, value=0x7f020069

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=pointDrawable, value=0x01080480

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=glowRadius, value=0x01050022

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=targetDrawables, value=0x7f070000

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=outerRadius, value=0x7f0d003d

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=vibrationDuration, value=0x7f0c0002

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=snapMargin, value=0x7f0d003b

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=feedbackCount, value=0x00000000

W: Could not decode attr value, using undecoded value instead: ns=prvandroid, name=alwaysTrackFinger, value=0xffffffff

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080838

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080704

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080708

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080b46

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010810fa

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080708

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080708

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080708

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010810fa

W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010810fb

I: Decoding values */* XMLs...

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01040846

at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:59)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)

at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:60)

at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResScalarValue.java:57)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(ResScalarValue.java:49)

at brut.androlib.res.data.value.ResArrayValue.getType(ResArrayValue.java:71)

at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(ResArrayValue.java:52)

at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:553)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:309)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:116)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)

at brut.apktool.Main.cmdDecode(Main.java:169)

at brut.apktool.Main.main(Main.java:85)