简体   繁体   English

Android ADB通过TCPIP连接不起作用

[英]Android ADB connect over TCPIP not working

I Connected my moto g2(Lollipop) to adb over WIFI using the commands 我使用以下命令通过WIFI将moto g2(Lollipop)连接到adb

adb tcpip 5555
adb connect 192.168.2.6:5555

It was successfully connected 已成功连接

when i checked how many devices are connected. 当我检查连接了多少个设备时。 It was showing 2 devices. 它显示了2个设备。

1.Device over USB 1.通过USB的设备

  1. Device over WIFI with the IP address IP地址通过WIFI的设备

So i need to use the device with WIFI So i unplugged the usb 所以我需要使用带WIFI的设备,所以我拔下了USB

To my Shock both devices are disconnected. 令我震惊的是,两个设备都断开了连接。 I dont why? 我为什么不呢? Please Help me 请帮我

Restart the adb connection with an adb kill-server then you should be able to reconnect and see your device with adb devices again. adb kill-server重新启动adb连接,然后您应该能够重新连接并再次看到具有adb devices

Sidenote: I like this app to use adb over wifi. 旁注:我喜欢这个程序在wifi上使用adb。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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