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
someone help me fix this issue please where it says error cannot start client #518
Comments
Install adb https://github.com/Genymobile/gnirehtet#adb |
but i have installed already and latest version of it i downloaded gnirehtet yesturday and it was working fine until today |
Execute manually:
What is the result? |
Got the same issue and my result is: Service Resolver Table: Key Set Manager: Packages: Queries: Package Changes: Dexopt state: Compiler stats: APEX session state: |
In my case it gives |
The message is quite clear. What is the result of |
2 devices, of course. An offline emulator and Pico 4's ID. I've found someone saying that if there are multiple devices attached, one should use adb -s (ID here) but then I get this:
|
|
Nice. I'm just a bad non-programmer.
Ok, now that it does something, can you tell me how to make gnirehtet work, please? I'm getting the same error as the OP. |
@rom1v Could you suggest what I should do next? |
Could you paste the whole error you get? Because your adb seems to be working. Did you set an ADB environment variable by any chance? |
Idk why I'm getting the email for this issue. For those who want to know: I tried alot of thing but it was prolly some permission issue on my phone as far as i know. Anyways, at the end after spending hours and a lot of frustration I just went ahead and used another app. |
The permission issue was probably #5. |
Ok, so the Java version works fine, up to 150Mbit bandwidth on a good-quality USB C-C cable. Same stable bitrate as my cheap WiFi 5 router (Archer A6 and yes, I've disabled WiFi). Sure, USB OTG Ethernet adapters can support 400Mbit bandwidth or more, but at least "Java tethering" works without BSODs, unlike conventional tethering. Tested for an hour with Virtual Desktop. It's only the Rust version that won't work, as even if it connects (not sure why it wouldn't connect before but I've made sure to have the device unlocked when I'm starting gnirehtet), the Rust version keeps disconnecting every second, but that's a different issue. |
Weird. Which version is it (which number) for Rust and for Java? |
v2.5.1 for both. I'll open a new issue and tag you if you wanna check out the errors and whatnot. |
Actually, even the Java version doesn't always work. Sometimes it won't start, only showing this:
But if you keep trying, it'll eventually start, like with an old car. |
It probably depends on whether the device is correctly detected (check |
Microsoft Windows [Version 10.0.22631.2715]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Advait Moras\Desktop\gnirehtet-rust-win64>gnirehtet.exe run
2023-11-23 16:25:56.940 INFO Main: Checking gnirehtet client...
2023-11-23 16:25:56.940 INFO Main: Starting relay server on port 31416...
2023-11-23 16:25:56.942 INFO Relay: Relay server started
2023-11-23 16:25:57.030 ERROR Main: Cannot start client: Command adb ["shell", "dumpsys", "package", "com.genymobile.gnirehtet"] returned with value 1
The text was updated successfully, but these errors were encountered: