sky201503 / android-apktool2

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

Could not decode the apk files with latest version(1.4.1) #216

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.apktool d FriendCallerAndroid.apk out
2.
3.

What is the expected output? What do you see instead?
It shows the following message when decoding the apk file:

I: Baksmaling...
I: Loading resource table...
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=versionCode, value=0x0000001b
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=versionName, value=0x00000015
Exception in thread "main" java.lang.NullPointerException
    at java.io.Writer.write(Writer.java:157)
    at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)
    at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)
    at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)
    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.AndrolibResources.decode(AndrolibResources.java:114)
    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 version of the product are you using? On what operating system?

I use the latest version ,that is apktool1.4.1
My operating system is Ubuntu 10.10

Please provide any additional information below.
I have tried some apk file with apktool,but it always showed the error message 
above.
The attached file is one of the apk file I have tried.

Thanks in advance.

Original issue reported on code.google.com by qrnnis26...@gmail.com on 10 Sep 2011 at 7:15

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Brut.alll on 5 Nov 2011 at 10:30