adb connect real machine

1, open the phone USB debugging

2, view the phone's IP ( Note: PC and mobile phone in a the same local area network )

3, use the View command adb devices in the device in CMD

 

4, use the command adb connect + phone IP: 5555 can connect the device

5, if the error prompt: can not connect to 192.168.0.100:5037: because the target computer actively refused, unable to connect. (10061)

Solutions are as follows:

adb tcpip 5555
adb connect 192.168.0.101:5555

 

Use the command again after solving adb devices View

 

 

Guess you like

Origin www.cnblogs.com/testlearn/p/11484955.html