How to find the UDID of an Android Device ?

What is UDID:

It stands for Unique Device Identifier.
During Android app development or android automation, the UDID (Unique Device Identifier) is essential for identifying a specific Android device. It is particularly useful when tracking unique installations of an application or when sending ADB commands to the device while running automation scripts

To find UDID of Android device

Step by step procedure below
:

1.
Go to Settings for your Android 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 Android mobile device (using USB cable) to your PC.

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

5. Note down the UDID of your Android device.

6.
It will appear as shown in below screenshot




Note: If you are connecting for the first time, you will get message similar to below one on your phone, which you have "Allow from this computer".









Thank You!!