hsiafan / apk-parser

Apk parser for java
BSD 2-Clause "Simplified" License
1.21k stars 360 forks source link

Unexpected chunk type:{8508, 16188} #52

Open b202i opened 7 years ago

b202i commented 7 years ago

The parser is throwing the following exceptions:

net.dongliu.apk.parser.exception.ParserException: Unexpected chunk type:16188 net.dongliu.apk.parser.exception.ParserException: Unexpected chunk type:8508

16188 may be caused when attempting to parse a non-binary XML file. Does this mean the APK is non-compliant? https://code.google.com/p/android/issues/detail?id=211783

I could not find anything about chunk type: 8508

hsiafan commented 7 years ago

Seems you are right, the xml file is not binary encoded. 8508 = <! 16188 = <?