Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does adb return offline after the device string?

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?

WH96TNE00361    offline WH96TNE00361    offline WH96TNE00361    offline WH96TNE00361    offline WH96TNE00361    offline WH96TNE00361    offline WH96TNE00361    offline WH96TNE00361    offline 
like image 451
susantjs Avatar asked Nov 17 '11 05:11

susantjs


People also ask

Why is my adb device offline?

It also seems to occur frequently when you connect to the device using the Wi-Fi mode (in Android Studio or in the console by running adb tcpip 5555 for example). To fix: Disconnect the USB connection—or turn off the device's Wi-Fi if you're connected over Wi-Fi. Close Android Studio/Eclipse/other IDE.

How do I fix the adb error failed to get feature set device offline?

Try adb kill-server and then adb start-server . Run adb devices to make sure your emulator is in the list and you shuld be set.

Why is adb devices not working?

Android has different connection modes which can sometimes cause this problem. In the case of adb, we need MTP (Media Transfer Protocol). One thing to note is that your smartphone might have Transfer files instead of MTP which is the same.


1 Answers

Try the following:

  1. Unplug the usb and plug it back again.

  2. Go to the Settings -> Applications -> Development of your device and uncheck the USB debugging mode and then check it back again.

  3. Restart the adb on your PC. adb kill-server and then adb start-server

  4. Restart your device and try again.

like image 81
Andreas Lymbouras Avatar answered Sep 22 '22 03:09

Andreas Lymbouras