Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

v1.4.7-v1.7.4 can not parse a apk that can be installed normally on devices #21

Closed
SuoNayi-GitHub opened this issue Jan 8, 2015 · 2 comments

Comments

@SuoNayi-GitHub
Copy link

it fails to parse a apk that can be installed normally on phones and can be parsed by AAPT.
the following is the stack trace when parse fails:

Exception in thread "main" java.lang.NullPointerException
at net.dongliu.apk.parser.struct.xml.Attribute.toStringValue(Attribute.java:27)
at net.dongliu.apk.parser.parser.XmlTranslator.onAttribute(XmlTranslator.java:83)
at net.dongliu.apk.parser.parser.CompositeXmlStreamer.onAttribute(CompositeXmlStreamer.java:33)
at net.dongliu.apk.parser.parser.BinaryXmlParser.readXmlNodeStartTag(BinaryXmlParser.java:165)
at net.dongliu.apk.parser.parser.BinaryXmlParser.parse(BinaryXmlParser.java:88)
at net.dongliu.apk.parser.ApkParser.parseManifestXml(ApkParser.java:155)
at net.dongliu.apk.parser.ApkParser.getApkMeta(ApkParser.java:70)
please contact me if more detail is required.

@hsiafan
Copy link
Owner

hsiafan commented Jan 8, 2015

fixed in 1.7.5 & 2.0.5. see 3eb6fa2

@hsiafan hsiafan closed this as completed Jan 9, 2015
@SuoNayi-GitHub
Copy link
Author

thx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants