asolfre / android-apktool

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

Cannot decode apk file #674

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. carried install framework-res.apk and system.UI.apk
2.reintall apktool
3.

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

I: Framework installed to: /Users/NicholasChang/Library/apktool/framework/1.apk
nicholahangsmbp:~ NicholasChang$ apktool d 
/Users/NicholasChang/Desktop/test1/app/Hangouts.apk 
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: 
/Users/NicholasChang/Library/apktool/framework/1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=requiredAccountType, value=0x00000064
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$1.event(XmlPullStreamDecoder.java:80)
    at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:130)
    at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:144)
    at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.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)
nicholahangsmbp:~ NicholasChang$ adb shell

What version of the product are you using? On what operating system?
Apktool v1.5.2  on my Mac 

Please provide any additional information below.

none

Original issue reported on code.google.com by Nicholas...@gmail.com on 26 Aug 2014 at 2:55

GoogleCodeExporter commented 9 years ago
Could not duplicate on 2.x

Original comment by connor.tumbleson on 26 Aug 2014 at 9:16