desword / android-apktool

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

Missing the yml file after de-compiling the apk file #611

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when I try to de-compile the apk file
2.
3.

What is the expected output? What do you see instead?

It generates two folders (res and smali) and a xml document called 
AndroidManifest without a yml file

What version of the product are you using? On what operating system?
Apktool 1.5.2

Please provide any additional information below.

Microsoft Windows [版本 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\KEY>cd C:\Users\KEY\Desktop\3030

C:\Users\KEY\Desktop\3030>apktool if 1.apk
I: Framework installed to: C:\Users\KEY\apktool\framework\127.apk

C:\Users\KEY\Desktop\3030>apktool d 1.apk 2
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\KEY\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
hardwareAccelerated, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010102d3
        at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
        at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
        at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
        at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:3
5)
        at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:313)
        at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
        at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
        at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
        at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:80)
        at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:130)
        at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPull
StreamDecoder.java:144)
        at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecode
r.java:131)
        at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:218
)
        at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
        at brut.apktool.Main.cmdDecode(Main.java:146)
        at brut.apktool.Main.main(Main.java:77)

C:\Users\KEY\Desktop\3030>

Original issue reported on code.google.com by key121...@gmail.com on 14 Mar 2014 at 12:54

GoogleCodeExporter commented 9 years ago
Here is my apk file

Original comment by key121...@gmail.com on 14 Mar 2014 at 1:01

Attachments:

GoogleCodeExporter commented 9 years ago
http://pastebin.com/6JXxAWwR

Couldn't duplicate. See FrameworkFiles or try 2.x

Original comment by connor.tumbleson on 18 Mar 2014 at 3:26

GoogleCodeExporter commented 9 years ago
SO what should I do next? 
I have no idea about the picture.

Original comment by key121...@gmail.com on 18 Mar 2014 at 4:12