android 网络调试

Posted on By toplion

  • Connect device via USB and make sure debugging is working.
  • adb tcpip 5555
  • adb connect 10.0.0.2:5555
  • (replace with device’s IP address)
  • Disconnect USB and proceed with wireless debugging.
  • adb usb to switch back when done.