zhanwei / android-apktool

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

Error when decompiling apk file #746

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I decompiling apk file (com.timetable.apk), always recieve this error 
mesage:
Where is issue? 
I have OS Windows 7 and APK studio editing-2.0.3b
I tried also OS Win XP, it is the same error.

I: Using Apktool 2.0.0-RC3 on com.timetable.apk

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

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

I: Regular manifest package...

I: Decoding file-resources...

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

S: Could not decode file, replacing by FALSE value: anim/abc_slide_out_top.xml

S: Could not decode file, replacing by FALSE value: anim/abc_fade_out.xml

S: Could not decode file, replacing by FALSE value: anim/abc_fade_in.xml

S: Could not decode file, replacing by FALSE value: anim/abc_slide_in_bottom.xml

S: Could not decode file, replacing by FALSE value: anim/abc_slide_in_top.xml

S: Could not decode file, replacing by FALSE value: 
anim/abc_slide_out_bottom.xml

I: Decoding values */* XMLs...

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

    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.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:36)

    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.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)

    at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:114)

    at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:99)

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

    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)

Original issue reported on code.google.com by kubatest...@gmail.com on 16 Jan 2015 at 10:56

Attachments:

GoogleCodeExporter commented 9 years ago
I download new version of framework (framework-res.apk) form this link and it 
is working. 
https://www.dropbox.com/sh/5uy4661z3mmzqmd/AADR9im-6nGdbmEIBjW_u9Ffa?dl=0

Original comment by kubatest...@gmail.com on 17 Jan 2015 at 1:10

GoogleCodeExporter commented 9 years ago
Or deleting the file at `$HOME/apktool/framework/1.apk` and then trying again. 
You had an outdated framework.

Original comment by connor.tumbleson on 17 Jan 2015 at 3:33