adb logcat hangs with “waiting for device” message

后端 未结 2 1757
渐次进展
渐次进展 2021-02-11 17:21

When I type adb devices command on terminal, it shows device is connected

List of devices attached

0123456789ABCDEF

2条回答
  •  盖世英雄少女心
    2021-02-11 17:48

    Here is yet another potential method to solve this -- in the past, the above solutions will work, but in my case, this time, this was the thing that fixed it:

    1. Plug device into USB
    2. Settings -> Developer Options
    3. Revoke USB Debugging Authorization
    4. Unplug Device
    5. Repeat Step 1
    6. Authorize Device
    7. Repeat Steps 4&5

    adb devices should now show device

    adb logcat should now output logs from device

提交回复
热议问题