Monday, February 14, 2011

[android-developers] Cannot use AXMLPrinter2 to translate binary xml correctly in Honeycomb-version apk

Dear all,

I try to use AXMLPrinter2 to translate the binary xml files in
resource directory of Honeycomb-related apk. But I always got
following error,

java.lang.ArrayIndexOutOfBoundsException: 71 at
android.content.res.StringBlock.getShort(StringBlock.java:231) at
android.content.res.StringBlock.getString(StringBlock.java:91) at
android.content.res.AXmlResourceParser.getName(AXmlResourceParser.java:
140) at test.AXMLPrinter.main(AXMLPrinter.java:56)

Any format change to binary XML in Honeycomb?!

Thanks!

Gary

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment