Why does adb return offline after the device string?

后端 未结 20 1337
误落风尘
误落风尘 2020-12-07 21:54

I use \"adb devices\" to get following result. Only one device is connected to PC by USB, but we get 8 lines of result.

Could anyone suggest the reason?

<         


        
20条回答
  •  一整个雨季
    2020-12-07 22:50

    I had the same issue and none of the other answers worked. It seems to occur frequently when you connect to the device using the wifi mode (running command 'adb tcpip 5555'). I found this solution, its sort of a workaround but it does work.

    1. Disconnect the usb (or turn off devices wifi if your connected over wifi)
    2. Close eclipse/other IDE
    3. Check your running programs for adb.exe (Task manager in Windows). If its running, Terminate it.
    4. Restart your android device
    5. After your device restarts, connect it via USB and run 'adb devices'. This should start the adb daemon. And you should see your device online again.

    This process is a little lengthy but its the only one that has worked everytime for me.

提交回复
热议问题