codyi96 / xml2axml

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

🐛[BUG] ...ndex 4296 out of bounds for length 4296 #9

Open yinli155 opened 2 years ago

yinli155 commented 2 years ago

java.lang.ArrayIndexOutOfBoundsException: Index 4296 out of bounds for length 4296 at android.content.res.StringBlock.getShort(StringBlock.java:231) at android.content.res.StringBlock.getString(StringBlock.java:91) at android.content.res.AXmlResourceParser.getNamespacePrefix(AXmlResourceParser.java:182) at com.codyi.xml2axml.test.AXMLPrinter.decode(AXMLPrinter.java:82) 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)

bigConifer commented 2 years ago

@yinli155 @codyi96 It looks like this long known bug in the AXMLPrinter2 component of xml2axml. It's already fixed here.