harl-鸿蒙应用开发实机热更新工具
鸿蒙应用开发实机热更新工具 依赖 debug 版本的hi3516镜像(release版本不支持shell) nfs v3 配置过程 配置过程可能遇到的问题 serial(串口) dev tools (可以从鸿蒙编译目录/out/ipcamera_hi3516dv300/dev_tools/bin复制到nfs挂载目录) aa (管理APP启动,关闭) bm (安装卸载APP) USAGE ➜ harl.exe NAME: harl - Open Harmony OS Dev tools USAGE: harl.exe [global options] command [command options] [arguments...] VERSION: v0.1.2 COMMANDS: init, i init .harm.yml watch, w watch and reload app install install hap uninstall uninstall hap shell open a shell reboot reboot help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --help, -h show help (default: false) --version, -v print the version (default: false) 下载应用 cd /your-project-dir 切换到项目目录 harl init 初始化配置文件 harl w 监听项目文件修改 监听时支持输入命令, 若看不到提示符请在调试日志暂停打印时按回车 可以用^run [command name]的方式执行command里定义的脚本 如执行示例配置文件的setup脚本, ^run setup 目前命令只支持在项目目录执行 配置文件 .harl.yaml
Continue reading...