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

RootShell throw ArrayIndexOutOfBoundsException when trying to get command output on Android Emulator API 14 and 23 #23

Open
rawewhat opened this issue Feb 11, 2018 · 0 comments

Comments

@rawewhat
Copy link

When running RootShell on older Emulator like API14 also on newer one like API23, RootShell keep throwing this exception and won't read the output from the command. This happen when calling RootTools.remount(target)

E/RootShell v1.6: 	
	length=1; index=1
	java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
	   at com.stericson.RootTools.internal.RootToolsInternalMethods$7.commandOutput(RootToolsInternalMethods.java:744)
	   at com.stericson.RootShell.execution.Command.output(Command.java:288)
	   at com.stericson.RootShell.execution.Shell.processErrors(Shell.java:820)
	   at com.stericson.RootShell.execution.Shell$3.run(Shell.java:722)
	   at java.lang.Thread.run(Thread.java:856)
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

0 participants