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

Cannot run program "su" #6

Open
erderis opened this issue Feb 7, 2023 · 1 comment
Open

Cannot run program "su" #6

erderis opened this issue Feb 7, 2023 · 1 comment

Comments

@erderis
Copy link

erderis commented Feb 7, 2023

I'm getting this error (when the root status result is false):

java.io.IOException: Cannot run program "su": error=2, No such file or directory

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)
at com.stericson.RootTools.execution.Shell.(Shell.java:66)
at com.stericson.RootTools.execution.Shell.startRootShell(Shell.java:513)
at com.stericson.RootTools.execution.Shell.startRootShell(Shell.java:495)
at com.stericson.RootTools.internal.RootToolsInternalMethods.isAccessGiven(RootToolsInternalMethods.java:764)
at com.stericson.RootTools.RootTools.isAccessGiven(RootTools.java:538)
at com.gokul.root.RootPlugin.isRooted(RootPlugin.java:51)
at com.gokul.root.RootPlugin.onMethodCall(RootPlugin.java:41)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:942)

@shivapardheep
Copy link

I am also have a same issue.

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