lnln1111 / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
0 stars 0 forks source link

Error when decompiling lastfm.apk #255

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. $> ./apktool/apktool d lastfm.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /Users/victorvieux/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=previewImage, value=0x7f0200a7
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=resizeMode, value=0x00000000
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 
0x010102da
    at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
    at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
    at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
    at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:35)
    at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:315)
    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.decode(XmlPullStreamDecoder.java:46)
    at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
    at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)
    at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:86)
    at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132)
    at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
    at brut.apktool.Main.cmdDecode(Main.java:120)
    at brut.apktool.Main.main(Main.java:57)

What is the expected output? What do you see instead?
No error, instead I see this and no apktool.yml in the created lastfm folder.

What version of the product are you using? On what operating system?
1.4.2 on MacOS

Please provide any additional information below.

Original issue reported on code.google.com by victorvi...@gmail.com on 7 Dec 2011 at 9:40

GoogleCodeExporter commented 9 years ago
Same with 1.4.3

Original comment by victorvi...@gmail.com on 8 Dec 2011 at 1:14

GoogleCodeExporter commented 9 years ago
Your missing some frameworks. See FrameworkFiles

Original comment by connor.tumbleson on 17 Nov 2012 at 6:41