Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depth out of bounds #3

Open
cqsniha opened this issue Nov 9, 2022 · 3 comments
Open

Depth out of bounds #3

cqsniha opened this issue Nov 9, 2022 · 3 comments

Comments

@cqsniha
Copy link

cqsniha commented Nov 9, 2022

As you can see,It can not deal with depth more than 3 levels.
Uploading 16680055789201194173028405090771.jpg…
I: 00.015 Dumping ... 'D:\platform-tools\Java\resources.arsc'
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
at com.kikfox.lib.arsc.AItemString.decodeUtf8StringByteLength(AItemString.java:388)
at com.kikfox.lib.arsc.AItemString.decodeString(AItemString.java:358)
at com.kikfox.lib.arsc.AItemString.decodeString(AItemString.java:205)
at com.kikfox.lib.arsc.AItemString.onBytesChanged(AItemString.java:213)
at com.kikfox.lib.arsc.AItemString.loadBytes(AItemString.java:92)
at com.kikfox.lib.arsc.ARSCArrayOffsets.loadItemBytes(ARSCArrayOffsets.java:49)
at com.kikfox.lib.arsc.ARSCBlockArray.loadBytes(ARSCBlockArray.java:31)
at com.kikfox.lib.arsc.ARSCBlockArray.loadItemBytes(ARSCBlockArray.java:39)
at com.kikfox.lib.arsc.ARSCBlockArray.loadBytes(ARSCBlockArray.java:31)
at com.kikfox.lib.arsc.ARSCResource.loadBodyBytes(ARSCResource.java:65)
at com.kikfox.lib.arsc.ARSCResource.loadItemBytes(ARSCResource.java:56)
at com.kikfox.lib.arsc.ARSCBlockArray.loadBytes(ARSCBlockArray.java:31)
at com.kikfox.lib.arsc.ARSCBlockArray.loadItemBytes(ARSCBlockArray.java:39)
at com.kikfox.lib.arsc.ARSCBlockArray.loadBytes(ARSCBlockArray.java:31)
at com.kikfox.lib.arsc.ARSCResource.loadBodyBytes(ARSCResource.java:65)
at com.kikfox.lib.arsc.ARSCResource.loadItemBytes(ARSCResource.java:56)
at com.kikfox.lib.arsc.ARSCBlockArray.loadBytes(ARSCBlockArray.java:31)
at com.command.CommandDump.dump(CommandDump.java:35)
at com.command.CommandDump.run(CommandDump.java:28)
at com.command.BaseCommand.parse(BaseCommand.java:36)
at com.command.CommandDump.parse(CommandDump.java:13)
at com.command.Command.run(Command.java:34)
at com.kikfox.arscTool.Main.main(Main.java:15)

@cqsniha
Copy link
Author

cqsniha commented Nov 9, 2022

Really useful tool!Hope you fix it.Thanks very much

@REAndroid
Copy link

Really useful tool!Hope you fix it.Thanks very much

Check this tool:

https://github.com/REAndroid/APKEditor

@cqsniha cqsniha closed this as completed Jan 17, 2023
@cqsniha cqsniha reopened this Jan 17, 2023
@cqsniha
Copy link
Author

cqsniha commented Jan 17, 2023

Really useful tool!Hope you fix it.Thanks very much

Check this tool:

https://github.com/REAndroid/APKEditor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants