How to connect to adb over wifi

keyboard_arrow_left Back to the overview

In some cases it might be required to get adb access to your device without plugging in a cable:

Steps

On your device

  1. Go to the developer settings
  2. Press Enable Wireless debugging
  3. Select Pair device with pairing code

You will see a dialog showing you IP address, port and a code.

On your computer

  1. Open a command line window
  2. Type adb pair <ip>:<port> and replace <ip> and <port> with the data seen on the device
  3. You will be asked for the pairing code. Type it in and hit Enter
  4. You will now see an output similar to Successfully paired to <ip>:<port>
  5. To connect to the device, type adb connect <ip>:<port> and replace <ip> and <port> with the data seen on the Wireless debugging page after closing the pairing dialog

Additionally you will get a notification on your device.