Appium : How to get the UDID of Android Device

How to find the UDID of Android Device

What is UDID :

It stands for Unique Device Identifier.
UDID is required during Android application development or Android App automation to get the unique id of the Android device. It is needed in cases when the user wants to track the unique device installations of the application or to send the ADB commands to the device while executing automation scripts.

To find UDID of Android device

You can watch Youtube video or follow the step by step procedure below:

 

                                                    OR 

Step by step procedure below:

1.
Go to settings for your Mobile device -> About Phone -> Build Number -> Tap 7 times to enable Developer options.

2.
Go to Developer options , under Debugging -> Make sure to enable USB debugging ON.

3.
Now connect your mobile device(using usb cable) to your PC.

4.
Open Command Prompt and type below command
   -> adb devices

*(Make sure ADB configured in your path variable, click here to know how to configure adb)

5.
Note down the UDID of your device.

6.
It will appear as shown in below screenshot


How to get the UDID of Android Device




Thank You!!

No comments:

Post a Comment

Android : How to connect your Android device over Wifi using ADB command for App debugging

How to connect your Android device over Wi-Fi using ADB command Sometimes it requires to connect your Android dev...