真机连接好PC后,终端输入以下两种方式:
1.hdc shell bm get --udid ; 2、HdcExternal shell bm get --udid
第一种可能会报一下错误: udid of current device is : error: failed to get udid