adb wifi can not connect error

Report "because the target computer actively refused, unable to connect" error.
 Solution:
  Andrews connecting plate and developing computer via USB cable.
  2 Set the following Android, the Android developer options >> << USB debugging is enabled item,
    >> is << USB MTP configuration option.
  3 in the development of computer systems WIN, by opening cmd command window interface, input adb devices,
     If you can see, the connected equipment list, showing good usb connected Android system.
  4 win system command line interface successively enter the following two commands:
     adb root // permission to mention the right.
     adb shell // shell into the Android system.
  After 5 into Andrew system, enter the command:
     setprop service.adb.tcp.port 5555 // set adb service port 5555, open network adb debugging features
        Additional information: setprop service.adb.tcp.port -1 // Enables the adb usb debugging. 
  6 Enter the exit command to exit the android shell.
  7 Enter the command:
     adb tcpip 5555 // let the device listens to TCP / IP connection port in 5555.
  Unplug the cable case 8 usb.
  9 using adb adb connect 192.168.1.181 for network connection can be connected properly.
 
to sum up:
    The reason is that Android can not connect adb not open network debugging function, connected via usb way to Android and settings.

Guess you like

Origin www.cnblogs.com/ggband/p/11961352.html