-
Notifications
You must be signed in to change notification settings - Fork 573
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
RROR Main: Cannot start client: Command D:\software\platform-tools ["shell", "dumpsys", "package", "com.genymobile.gnirehtet"] failed: 拒绝访问。 (os error 5) #526
Comments
OS is windows 11 |
Did you set the |
To clarify, when I say device I mean the Android device, not the windows device. ERROR Main(, no value)0. Get Android SDK Platform-Tools (0.5. Relocate Android SDK Platform-Tools 1. Set environmental variable Now windows is familiarized with the android dev tools. You can run cmd and run 'adb' which should give you an overview of its functions. If not, you should repeat the steps above and troubleshoot that first before continueing. 3.a. Check connection status If there is an error again which gives you a value of 1, additional setting up is required on your android device. > MAIN ERROR persists(, CMD output slightly different, now gives a value of 1)2.b.1. Check connection medium 2.b.2. Set connection to MIDI 2.b.3. Enter developer mode on device 2.b.4. Enable USB-troubleshooting In any case, that resolved the issue for me. I tried to write up the steps I took as clearly as possible. I hope it helps other people getting this fantastic script to run. |
question:
d:\software\gnirehtet-rust-win64>gnirehtet run
2024-01-18 17:11:49.676 INFO Main: Starting relay server on port 31416...
2024-01-18 17:11:49.676 INFO Main: Checking gnirehtet client...
2024-01-18 17:11:49.678 ERROR Main: Cannot start client: Command D:\software\platform-tools ["shell", "dumpsys", "package", "com.genymobile.gnirehtet"] failed: 拒绝访问。 (os error 5)
2024-01-18 17:11:49.681 INFO Relay: Relay server started
Attempted to run with administrator。
The text was updated successfully, but these errors were encountered: