简体   繁体   中英

adb devices is not listing the devices

adb devices is not listing the attached device instead the command hangs for ever. As per the suggestion given here in this SO answer killed the process which is running on port 5037 but after killing once it's listing the devices for me.

The next time when i enter adb devices the command hangs for ever. Any help in this regard would be much appreciated.

Additional information:

  • Running this command on MacOS Mojave 10.14.6

It looks like there is some issue with the platform-tools which is installed in my machine. Downloaded the platform-tools given from this link

https://www.xda-developers.com/install-adb-windows-macos-linux/

And replaced ~/Library/Android/sdk/platform-tools with the downloaded one. It worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM