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

RROR Main: Cannot start client: Command D:\software\platform-tools ["shell", "dumpsys", "package", "com.genymobile.gnirehtet"] failed: 拒绝访问。 (os error 5) #526

Open
flyfig opened this issue Jan 18, 2024 · 2 comments

Comments

@flyfig
Copy link

flyfig commented Jan 18, 2024

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。

@flyfig
Copy link
Author

flyfig commented Jan 18, 2024

OS is windows 11

@rom1v
Copy link
Collaborator

rom1v commented Jan 31, 2024

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)

Did you set the ADB environment variable to D:\software\platform-tools? It must point to the executable (D:\software\platform-tools\adb.exe), not its parent folder.

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