codyi96 / xml2axml

🤒 xml2axml & axml2xml
MIT License
54 stars 19 forks source link

[BUG] Failed to decode some manifest files #11

Open sunilpaulmathew opened 1 year ago

sunilpaulmathew commented 1 year ago

Describe the bug Got the following output while trying to decode a manifest file (attached inside the zip): java.io.IOException: Expected chunk of type 0x80003, read 0x4dbdbfef. at android.content.res.ChunkUtil.readCheckType(ChunkUtil.java:31) at android.content.res.AXmlResourceParser.doNext(AXmlResourceParser.java:770) at android.content.res.AXmlResourceParser.next(AXmlResourceParser.java:73) at com.codyi.xml2axml.test.AXMLPrinter.decode(AXMLPrinter.java:61) at com.codyi.xml2axml.test.AXMLPrinter.main(AXMLPrinter.java:46) at com.codyi.xml2axml.test.Main.decode(Main.java:37) at com.codyi.xml2axml.test.Main.main(Main.java:21)

To Reproduce Steps to reproduce the behavior:

  1. Extract the binary manifest file from the attached zip
  2. Decode using java -jar xml2axml-2.1.0.jar d [AndroidManifest-bin-in.xml] [AndroidManifest-readable-out.xml]
  3. See error

File Input File (please extract the AXML file from the attached zip) AndroidManifest.zip

Desktop (please complete the following information):

Additional context