获取鸿蒙设备Udid遇到的问题

708 阅读1分钟

参考官方文档:注册调试设备-调试应用(HarmonyOS)-AppGallery Connect帮助中心 - 华为HarmonyOS开发者 (huawei.com)

坑一:The sdk hdc.exe version is too low, please upgrade to the latest version.

升级dev工具和sdk配置为api12,执行kill之后解决。

。。。

坑二:[Fail]ExecuteCommand need connect-key? please confirm a device by help info

在手机上确认调试即可。