Getting Android Device Identifier From ADB and Android SDK

前端 未结 12 933
一生所求
一生所求 2021-01-30 17:24

I am looking for the easiest way to get a unique android device identifier from both the Android adb and the Android ADK itself.

For example, when i use the adb \'devi

12条回答
  •  醉酒成梦
    2021-01-30 17:50

    Use getprop net.hostname which has an Android unique Id followed by keyword android-<64 bit Hexadecimal String>

    example:

    [net.hostname]: [android-a487e0560d669e4a]
    

提交回复
热议问题