Method 2
If the Developer Menu and USB Debugging are enabled, you don't need to install another application to find the device ID. Just connect Android to the computer, run the command adb shell settings get secure android_id . Then the ID of the Android device will appear.
Connect your phone to the computer and run the command
If there are no returns or returns of meaningless IDs (such as 123456789ABCDEF for example), you need to reset the device to create a new ID or fix the device.
See more: