I was trying to decompile Themestore from Galaxy S6 and was prompted with below error:
I: Using Apktool 2.0.0-RC4 on ThemeStore3xh.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Documents and Settings\User\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values /_ XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010104ce
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:57)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:54)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:581)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:344)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:133)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:104)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
I was trying to decompile Themestore from Galaxy S6 and was prompted with below error:
I: Using Apktool 2.0.0-RC4 on ThemeStore3xh.apk I: Loading resource table... I: Decoding AndroidManifest.xml with resources... I: Loading resource table from file: C:\Documents and Settings\User\apktool\framework\1.apk I: Regular manifest package... I: Decoding file-resources... I: Decoding values /_ XMLs... Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010104ce at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59) at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57) at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53) at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:57) at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:54) at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:581) at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:344) at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:133) at brut.androlib.ApkDecoder.decode(ApkDecoder.java:104) at brut.apktool.Main.cmdDecode(Main.java:165) at brut.apktool.Main.main(Main.java:81)
However, removing first "resources.arsc" in the apk file works. Here is the link for the framework and the apk file: https://www.dropbox.com/sh/b44xhfqr47tuhz3/AADPcGykGVNQLBECxCZPf_mZa?dl=0