Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Exception in thread "main" java.lang.StringIndexOutOfBoundsException #349
Original issue 238 created by ljb2005 on 2011-11-14T09:37:30.000Z:
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Comment #3 originally posted by naresh.mehta on 2011-11-30T15:02:09.000Z:
I have been facing the same issue. I am using Windows XP 32-bit with apktoolv1.4.1. Whenever I run the command apktool d -d test.apk test, I get the following:
Please fix this and thankyou for the excellent tool.
Comment #5 originally posted by connor.tumbleson on 2014-02-09T06:56:19.000Z:
There is a note in ResourcesTypes.cpp, which I caught during research
During execution of decode() -> readTable() -> readPackage() -> readType() -> readConfig() -> readEntry() -> readValue() -> getHTML()
We incorrectly assume without reading the note about the high set bit. This occurs in StringBlock.java, in function getShort(). The function is returning a short. So we need to create a newer function "decodeUtf16" or something and update this to above spec. I feel this bug is also the reason many applications that abuse string length are failing.