Connecting Real Android Device ADB via Wifi


Appium Tutorial: Connecting your Android Devices via USB for testing Native and Hybrid Apps

Most of the time when we test Native and Hybrid Android apps via Appium, we need to connect our real device through USB to a machine. In this example we will see how we can connect our ADB device via Wifi connection.


  1. Make sure initially the Android device is connected via USB Cable to the machine
  2. Correct USB drivers are installed and the device is discoverable. Enter adb devices in cmd prompt and check if you device shows up.

  1. Make sure both Device and Machine are on same Wifi
  2. Run the cmd:

adb tcpid 5555

  • Now disconnect your device
  • Get the IP Address of you Android device
  • Run the following command to configure adb on you device via Wifi

adb connect <IP Address of your android device>

  • Open command prompt and type:

adb devices

  • Make sure the device is discoverable over the wifi network
  • Execute and run your test


  • Superb Article

    Thanks for the info sir


    Sir, Very clear and step by step info. sir you always Rock!!!! ..vj

    gud 1

    its a very good article


    gud one


    This is very info for all automation tester..Thank you Raman...Keep rocking


    Getting unable to connect to