sky201503 / android-apktool2

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

Error decode. Could not decode attr value #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install apktool
2. install sun java
3. Decode any apk file = error

What is the expected output? What do you see instead?
apktool d 1317070180_wp-clock-full-v1.5.9.apk kjhsdd
I: Baksmaling...
I: Loading resource table...
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=versionCode, value=0x0000009c
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=versionName, value=0x00000013
Exception in thread "main" java.lang.NullPointerException
    at java.io.Writer.write(Writer.java:140)
    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?
1.4.1 
Linux debian-60-squeeze-64-minimal.com 2.6.32-5-amd64
NOT GTK (not GUI, linux server)
Please provide any additional information below.
install sdk 
tried java-jar apktool.jar d-s NAMEAPK FOLDER:
java -jar apktool.jar d -s 'Dolphin Browser HD 6.2.0.apk' asdasd
I: Copying raw classes.dex file...
I: Loading resource table...
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=sharedUserId, value=0x0000002d
Exception in thread "main" java.lang.NullPointerException
    at java.io.Writer.write(Writer.java:140)
    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)

Original issue reported on code.google.com by squie...@gmail.com on 12 Oct 2011 at 11:09

GoogleCodeExporter commented 9 years ago

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