AS - Connect Android Device
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
Prerequisites
-
The USB driver for your device should be installed on the user machine.
Each manufacturer has its own USB drivers. The following link provides links to the websites for several original equipment manufacturers (OEMs), where you can download the appropriate USB driver for your device.
http://developer.android.com/tools/extras/oem-usb.html -
If multiple devices connected, they should have serial numbers (SN). Otherwise, Appium Studio identifies only a single device. In general, each device has a unique SN, but in some cases, devices might have same SN (for example 123456).
-
The device should have USB debugging enabled.
Enable USB Debugging
On devices which are version 4 and lower, to enable USB Debugging, click Settings → Applications → Development, then set the "USB debugging" to enable.
On devices which are version 4.2 and higher, to enable USB Debugging:
- Click Settings -> About Phone -> then click Build number 7 times.
- Click Settings -> Developer Options -> USB Debugging.
Click OK when the Allow USB debugging pop-up shows up, after connecting the USB cable.
-
In Appium Studio go to Device tab.
-
Click the Add Device icon, then click Android Device.
If no Android device is detected: a pop-up window appears offering several USB drivers links for download.
-
If the pop-up window appears:
- Click the relevant manufacture.
- Click Ok.
- Repeat from step 1.
A pop-up appears. You see the serial number of the Android device.
-
Optional: Choose the orientation the device opens:
- Auto-Rotate - The device opens according to its real condition and orientation changes automatically if you move the device.
- Portrait.
- Landscape.
-
Name the device, then click OK.
The selected device appears in the Device list.
Open the Device
Select the device, then click the Open Device button.
The device's reflection appears on your desktop.