Automation Guide
Application testing
Mobile testing
Testing mobile applications
Android Automation
Setting up the test environment
Setting up installation local appium server 
The requested page is not available for selected version.
Setting up a physical Android device
Ensure that you have configured your Android device to accept from Appium server (see Basic-configuration).
To set up an Android device via USB cable, perform the following steps:
- Connect the device using USB cable
- Make sure in android “Developer Options”, “USB Debugging” and “Install via USB” options are enabled.
- Verify
adb devices
command is showing the connected device name
To set up an Android device via Wi-Fi, perform the following steps:
- Connect Android phone and host machine to same WiFi network
- Connect Android phone to host machine using USB cable (to start with)
- Run
adb tcpip 5555
from a command prompt - Run
adb shell "ip addr show wlan0 | grep -e wlan0$ | cut -d\" \" -f 6 | cut -d/ -f 1"
to obtain the phone’s IP address - Disconnect USB cable and run adb connect
<your_ip_address>:5555
- Verify
adb devices
command is showing the connected device name