Two methods to solve the device offline problem of ADB

Fault phenomenon: error: device offline


First method:

C:\Users\WXY\Desktop\XY\adb>adb nodaemon server

cannot bind ‘tcp:5037’

C:\Users\WXY\Desktop\XY\adb>netstat -ano|findstr “5037”



C:\Users\WXY\Desktop\XY\adb>tasklist | findstr “41416”

adb.exe 41416 Console 1 8,200 K

C:\Users\WXY\Desktop\XY\adb>taskkill /pid “41416” /t /f

Success: The process with PID 41416 (a subprocess of PID 28764) has been terminated.

The second method:

Then use the following method, provided you need to install QQ, open your directory below, if you can’t find it, use the search tool to search for tadb.exe , as long as you have QQ installed, there will be this

C:\Users\your computer name\AppData\Roaming\Tencent\AndroidServer\ There is a Tencent packaged adb called tadb.exe

C:\Users\[Your Computer Name]\AppData\Roaming\Tencent\AndroidServer\>tadb connect

connected to

C:\Users\[Your Computer Name]\AppData\Roaming\Tencent\AndroidServer\>tadb.exe pull /storage/emulated/0/Screenshots/Screenshot_20190627-122353.png ./abc.png

error: device unauthorized. Please check the confirmation dialog on your device.

//This error message you need to confirm on your Android device

C:\Users\WXY\AppData\Roaming\Tencent\AndroidServer\>tadb.exe pull /storage/emulated/0/Screenshots/Screenshot_20190627-122353.png ./abc.png

30 KB/s (281681 bytes in 8.986s) //This statement is what I’m doing to downlink the screenshot from the remote Android to the local pC


Similar Posts: