adb error 2: vague system stats
windows 10, android 8.1
TunnelServer: Cannot accept client. Either the application has not called WSAStartup, or WSAStartup failed. (os error 10093)
Main: Cannot start client: Command adb ["shell", "dumpsys", "package","com.genymobile.gnirehtet"] failed: The system cannot find the file specified. (os error 2)
attempted force stop around the time this error showed up
This error message indicates two main issues while trying to run Gnirehtet on Windows 10 with Android 8.1:
Error 1:
TunnelServer: Cannot accept client. Either the application has not called WSAStartup, or WSAStartup failed. (os error 10093) Meaning: This is a Windows Sockets (Winsock) issue. WSAStartup is required before using any socket functions. This error (10093) means either:
The network stack was not initialized correctly
Your system is missing key networking components
Fix: Reset Winsock: Open Command Prompt as Admin and run:
netsh winsock reset Then restart your computer.
Error 2:
Main: Cannot start client: Command adb ["shell", "dumpsys", "package", "com.genymobile.gnirehtet"] failed: The system cannot find the file specified. (os error 2) Meaning: The gnirehtet.apk is not installed on the Android phone.
Fix: Install the APK manually using ADB:
Navigate to the gnirehtet extracted folder.
Run:
adb install gnirehtet.apk Check if it’s installed:
adb shell pm list packages | grep gnirehtet If you don’t see com.genymobile.gnirehtet, it’s not installed.