当前位置:   article > 正文

harmonyOS app 开发环境配置流程

harmonyOS app 开发环境配置流程

1.安装DevEco Studio,注意nodejs版本,安装过程中有提示,添加hdc到系统环境变量中,用于调用hdc命令


2.开启真机设备的开发人员选项,以及开启5555端口(需要连接usb线)
https://developer.harmonyos.com/cn/docs/documentation/doc-guides/run_phone_tablat-0000001064774652
https://blog.csdn.net/Gangangan_/article/details/121595705


3.注册华为官方账户,实名认证个人开发者,便于生成四个证书
获取设备udid 
https://developer.huawei.com/consumer/cn/doc/app/agc-help-harmonyos-debugapp-manual-0000001177608893#section1835412326017
HdcExternal.exe shell bm get --udid
XXXB6AC00FF1CE8F8E7CADCDC8CF8A81A01F4577458D61A4F1F63832DA844EC0
获取证书
https://www.51cto.com/article/685915.html

4.使用四个证书,授权app应用,用于真机调试
https://blog.csdn.net/qq_34462735/article/details/135226332#:~:text=1.%E8%BF%94%E5%9B%9EAppGallery%20Connect%E6%8E%A7%E5%88%B6%E5%8F%B0%E9%A6%96%E9%A1%B5%EF%BC%8C%E9%80%89%E6%8B%A9%E2%80%98%E6%88%91%E7%9A%84%E9%A1%B9%E7%9B%AE%E2%80%99%EF%BC%8C%E9%80%89%E6%8B%A9%E4%B8%80%E4%B8%AA%E5%B7%B2%E5%88%9B%E5%BB%BA%E7%9A%84HarmonyOS%E9%A1%B9%E7%9B%AE%E3%80%82%202.%E8%BF%9B%E5%85%A5%E6%AD%A4%E9%A1%B9%E7%9B%AE%EF%BC%8C%E9%80%89%E6%8B%A9%E2%80%98HarmonyOS%E5%BA%94%E7%94%A8%E2%80%99%EF%BC%8C%E2%80%98HAP,Provision%20Profile%E7%AE%A1%E7%90%86%E2%80%99%E8%BF%9B%E8%A1%8C%E6%B7%BB%E5%8A%A0%E3%80%81%E5%88%A0%E9%99%A4%E3%80%81%E4%B8%8B%E8%BD%BDProfile%E6%96%87%E4%BB%B6%E6%93%8D%E4%BD%9C%E3%80%82%203.%E6%B7%BB%E5%8A%A0Profile%EF%BC%8C%E5%A1%AB%E5%86%99%E8%AF%81%E4%B9%A6%E5%90%8D%E7%A7%B0%EF%BC%8C%E9%80%89%E6%8B%A9%E7%B1%BB%E5%9E%8B%EF%BC%8C%E9%80%89%E6%8B%A9%E4%B8%8A%E8%BF%B0%E6%AD%A5%E9%AA%A4%E4%B8%AD%E7%94%B3%E8%AF%B7%E5%A5%BD%E7%9A%84.cer%E8%AF%81%E4%B9%A6%EF%BC%8C%E9%80%89%E6%8B%A9%E8%AE%BE%E5%A4%87%E3%80%82

5.修改app名称和图标
https://blog.csdn.net/weixin_45326220/article/details/134569111

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/251498
推荐阅读
相关标签
  

闽ICP备14008679号