Wireless debugging on Android – Use ADB using Wi-Fi

Tutorial/Commands on How to enable wireless debugging on android. This will let you use adb using Wi-Fi on your android

An image showing android device connected wirelessly using Wi-Fi to computer using adb for debugging and development

Most of the times android developers connect their android devices using usb cable for debugging and developing their applications. It might not be ideal to keep the device connected. In this short tutorial you will get to see how to enable wireless debugging on your android and then connect to the android device using adb using Wi-Fi from your computer

Connecting to your Android Device

Prerequisites

  • Make sure developer mode is on
  • Both mobile device and computer are connected to the same network
  • adb is installed and in system path of the computer

Steps

  • In Settings search for “Wireless debugging”
    • Turn on the toggle
  • It will display ip address and port
    • Here for example it shows 192.168.1.11:40369
  • On your computer, in the terminal run the following command using the ip address and port from previous step
    • adb connect 192.168.1.11:40369
  • You will get a confirmation output `connected to 192.168.1.11:40369`
    • You can also manually get a list of connected devices just to verify
      • adb devices

Disconnecting your Android

Type the following command using the ip address and port from previous steps.

adb disconnect 192.168.1.11:40369


Additionally if you dont know the ip address and port you can check it using the command adb devices

Leave a Reply

Your email address will not be published. Required fields are marked *