Closed GoogleCodeExporter closed 9 years ago
Confirmed.
The resources it is complaining about are in the source apk according to aapt.
ibotpeaches@raganok:~/Downloads/Apktool/Bug722$ aapt d resources
SecContacts.apk | grep '0x7f0f00e1'
spec resource 0x7f0f00e1 com.android.contacts:string/contactsList: flags=0x00000004
So something is wrong in the decompilation process.
Original comment by connor.tumbleson
on 7 Dec 2014 at 1:47
[deleted comment]
I: Using Apktool 2.0.0-RC3 on DocumentService.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\*****\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android,
name=label, value=0x7f020000
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x7f020000
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:60)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:45)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:41)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:134)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:296)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
Let me know if you need files from my case.
Original comment by saars...@gmail.com
on 8 Dec 2014 at 2:43
I got this error to decompile SecContacts_Phone_OSup from lollipop NL8.
the other system app like SystemUI and SecSettings are well both decompile and
recompile..
any solution?
Original comment by syibri32...@gmail.com
on 31 Dec 2014 at 9:04
had you try to decompile the SecContacts_Phone_OSup as a depency apk one?
try to push the SecContacts_Phone_OSup by "if" command....
( apktool if SecContacts_Phone_OSup.apk)
and after that try to decompile the SecContacts_Phone_OSup again...
Original comment by amnodan...@gmail.com
on 3 Jan 2015 at 8:26
Couldn't duplicate OP problem with this commit:
https://github.com/iBotPeaches/Apktool/commit/e9d21f84af8522ef797a4016b0266f394b
9a5650
I guess that fixed it.
Original comment by connor.tumbleson
on 4 Jan 2015 at 2:43
Original issue reported on code.google.com by
9.kesh...@gmail.com
on 6 Dec 2014 at 7:29