Adb Logcat Hangs With "waiting For Device" Message


Answer :

I am not pretty much sure if this works for you but can you please try the steps below:

# Kill and restart       $ adb kill-server       $ adb start-server       daemon not running. starting it now *        daemon started successfully *           # Device appears, but is listed as offline  $ adb devices       $ adb logcat 

I have also experienced similar problems I think I solved it by having the USB debugging option switched on within Developer Options in Settings.

REPEAT The following steps above, it should work!


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


Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?