# How to integrate Android Device with Leapwork?

## Introduction

Leapwork supports mobile automation on native devices. In this article, you will learn how to set up and run mobile automation for Android devices using **Leapwork**.

## Pre-Requisites:

1. Appium Server should be installed on the machine and running, refer to the [link](https://support.leapwork.com/s/article/HowtosetupanAppiumServer6330873513e43) for setting up the Appium server.
2. Android Native Environment should be available on the machine, refer to the [link](https://support.leapwork.com/s/article/HowtosetuptheAndroidNativeEnvironment6330877acc924) for the Android Native Environment Set up.
3. Android Mobile device should be connected to the machine.

## Steps to perform the Android Device Integration with Leapwork:

### Mobile Device Settings

1. Open the "Settings" of the Android Device.

2. Under " **Settings**" go to the "About Phone" and collect the following Information:
   - Device name
   - Android Version

**Note:** If the **Android Version and Build Number are not available on the screen** after clicking on "About Phone", it could be present under the " **Software Information**" tab.

3. Tab seven times on the build number to enable the "Developer mode" (which is required to connect the mobile device).
4. Open the " **Developer Options**" (Phone Settings > System > Developer Options) and verify it is Enabled.
   
5. In "Developer Options enable USB debugging (Present under "Debugging" section of "Developer Options").

### Set Up a Mobile Connection in Leapwork

1. Run the Appium Server.
2. Open the Leapwork > Go To Settings > Select Connections Tab.
3. Click on "Add" available on "Connections".
   
4. Follow the [link](https://support.leapwork.com/s/article/HowtosetupaMobileDeviceConnection6330869f1306f) to enter the details and set up the Mobile Connection.

### Set Up the Mobile Configuration in Leapwork

1. Once the Connection is made Successfully then move to the " Mobile Configurations" tab under "Settings" of Leapwork.
2. Click on "Add".
   
3. Follow the [link](https://support.leapwork.com/s/article/HowtosetupMobileDeviceConfiguration633085de71eac) to enter the details and set up the Mobile Configuration.

**Note**: The Mobile Configuration could be set up only after setting up the Mobile Connection.

If you have any questions, please reach out to our [Priority Support](mailto:prioritysupport@leapwork.com) team.
